From 64f2f3d976e344d3bfa2dbddb937c90a0c4fe55c Mon Sep 17 00:00:00 2001 From: hannes Date: Tue, 5 Jan 2016 22:44:06 +0000 Subject: [PATCH] effectiveUrl seems to contain the url we want --- lib/httpclient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2