summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_url.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_url.class b/it_url.class
index 608e6b7..8b2ef51 100644
--- a/it_url.class
+++ b/it_url.class
@@ -348,7 +348,7 @@ function request_curl($p=array())
$p['headers'] = (array)$p['headers'] + self::_default_headers($url, $p);
$opts = array(CURLOPT_FOLLOWLOCATION => false, CURLOPT_HEADER => 1) + self::curl_opts($p + array('user' => $this->user, 'pass' => $this->pass));
- $curl = curl_init($url->rawurl);
+ $curl = curl_init($url->url);
curl_setopt_array($curl, $opts);
$got = curl_exec($curl);