]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/httpclient.php
effectiveUrl seems to contain the url we want
[quix0rs-gnu-social.git] / 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