]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
effectiveUrl seems to contain the url we want
authorhannes <h@nnesmannerhe.im>
Tue, 5 Jan 2016 22:44:06 +0000 (22:44 +0000)
committerhannes <h@nnesmannerhe.im>
Tue, 5 Jan 2016 22:44:06 +0000 (22:44 +0000)
lib/httpclient.php

index 4b854914c929ac0dd54d3f7787fc4556e5e90050..b386ce39875e991d08ed5fc0db4deaf2a5b7039b 100644 (file)
@@ -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