]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Merge branch 'file_redirection_cleanup_branch' into 'nightly'
authormmn <mmn@hethane.se>
Mon, 25 Jan 2016 19:21:52 +0000 (19:21 +0000)
committermmn <mmn@hethane.se>
Mon, 25 Jan 2016 19:21:52 +0000 (19:21 +0000)
commitc0b0f8e2f9afda8ac51e37df41ff39e3f8a2e9d0
treea12ccd61902bee3bc6592a47ba3590c3ef31423a
parenta9d18a077eca2db07b2f44e17f2a6a1b95d197bd
parente447964639dfb7b924dee37b804013913d815f00
Merge branch 'file_redirection_cleanup_branch' into 'nightly'

Proper URL redirection fix

This greatly reduces the number of times GNU social looks up the same URL with File_redirection::where().

Someone must have mixed up the exlib's internal setting "follow_redirects" with our own.

This also makes away with the weird backwards recursive handling of protected URLs in File_redirection::lookupWhere(), by saving the chain of redirects the first time HTTPClient:send() looks them up.

See merge request !95