forked from GNUsocial/gnu-social
effectiveUrl seems to contain the url we want
This commit is contained in:
parent
9a75778b29
commit
64f2f3d976
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user