X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fhttpclient.php;h=b386ce39875e991d08ed5fc0db4deaf2a5b7039b;hb=64f2f3d976e344d3bfa2dbddb937c90a0c4fe55c;hp=4b854914c929ac0dd54d3f7787fc4556e5e90050;hpb=9a75778b299e6ca2903fb51c0765be4dcb4f42e6;p=quix0rs-gnu-social.git 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