From: hannes Date: Tue, 5 Jan 2016 22:44:06 +0000 (+0000) Subject: effectiveUrl seems to contain the url we want X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=64f2f3d976e344d3bfa2dbddb937c90a0c4fe55c;p=quix0rs-gnu-social.git effectiveUrl seems to contain the url we want --- diff --git a/lib/httpclient.php b/lib/httpclient.php index 4b854914c9..b386ce3987 100644 --- a/lib/httpclient.php +++ b/lib/httpclient.php @@ -80,7 +80,7 @@ class GNUsocial_HTTPResponse extends HTTP_Request2_Response */ function getUrl() { - return $this->url; + return $this->effectiveUrl; } /** @@ -360,4 +360,4 @@ class HTTPClient extends HTTP_Request2 } while ($maxRedirs); return new GNUsocial_HTTPResponse($response, $this->getUrl(), $redirs); } -} +} \ No newline at end of file