Permalink
Browse files

Merge pull request #12 from iToto/master

Bug Fix for error received for not using HTTPS with query.yahooapis.com/v1/yql
  • Loading branch information...
2 parents e489191 + 6bca2d1 commit 78047af7ef4534eae3386c65759f15610d911b50 @drewfish drewfish committed Mar 31, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Yahoo/YahooYQLQuery.class.php
View
4 lib/Yahoo/YahooYQLQuery.class.php
@@ -43,7 +43,7 @@ class YahooYQLQuery
# Yahoo! YQL API
const PUBLIC_API_URL = 'http://query.yahooapis.com/v1/public/yql';
- const OAUTH_API_URL = 'http://query.yahooapis.com/v1/yql';
+ const OAUTH_API_URL = 'https://query.yahooapis.com/v1/yql';
const DATATABLES_URL = 'http://datatables.org/alltables.env';
public function execute($yql, $parameters = array(), $method = YahooCurl::GET)
@@ -55,4 +55,4 @@ public function execute($yql, $parameters = array(), $method = YahooCurl::GET)
return ($http) ? json_decode($http['response_body']) : false;
}
-}
+}

0 comments on commit 78047af

Please sign in to comment.