diff --git a/libraries/http_request.inc b/libraries/http_request.inc
index 852dd4b82233ff6d9265b36fe18b17f65ebfdba0..22f4aa07df4998672b89992f887eba3bcbf59c93 100644
--- a/libraries/http_request.inc
+++ b/libraries/http_request.inc
@@ -38,7 +38,7 @@ class HRCurlException extends Exception {}
  *   The discovered feed, or FALSE if the URL is not reachable or there was an
  *   error.
  */
-function http_request_get_common_syndication($url, $settings = NULL) {
+function http_request_get_common_syndication($url, $settings = array()) {
 
   $accept_invalid_cert = isset($settings['accept_invalid_cert']) ? $settings['accept_invalid_cert'] : FALSE;
   $download = http_request_get($url, NULL, NULL, $accept_invalid_cert);
diff --git a/plugins/FeedsHTTPFetcher.inc b/plugins/FeedsHTTPFetcher.inc
index 37611138a39bfb8c5b9b0cb7399682da072f40fe..cd91b63403cfe6f37bf171a68428c25bf82cf516 100644
--- a/plugins/FeedsHTTPFetcher.inc
+++ b/plugins/FeedsHTTPFetcher.inc
@@ -243,7 +243,10 @@ class FeedsHTTPFetcher extends FeedsFetcher {
     }
     elseif ($this->config['auto_detect_feeds']) {
       feeds_include_library('http_request.inc', 'http_request');
-      if ($url = http_request_get_common_syndication($values['source'])) {
+      $url = http_request_get_common_syndication($values['source'], array(
+        'accept_invalid_cert' => $this->config['accept_invalid_cert'],
+      ));
+      if ($url) {
         $values['source'] = $url;
       }
     }