diff --git a/libraries/http_request.inc b/libraries/http_request.inc
index 22f4aa07df4998672b89992f887eba3bcbf59c93..84c4978e931e466c572ca2904a3cf3c89b8dfa4f 100644
--- a/libraries/http_request.inc
+++ b/libraries/http_request.inc
@@ -100,8 +100,8 @@ function http_request_get($url, $username = NULL, $password = NULL, $accept_inva
     // Handle password protected feeds.
     $url_parts = parse_url($url);
     if (!empty($url_parts['user'])) {
-      $password = $url_parts['pass'];
-      $username = $url_parts['user'];
+      $password = urldecode($url_parts['pass']);
+      $username = urldecode($url_parts['user']);
     }
   }