]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
Hotpatch for infinite redirection-following loop seen processing URLs to http://cloju...
authorBrion Vibber <brion@pobox.com>
Tue, 25 May 2010 20:09:21 +0000 (13:09 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 25 May 2010 20:09:21 +0000 (13:09 -0700)
commit95159112b2331ee832a4cf1e711cb8f1f0193c44
treed6765e094185b6b32acd2d0026a13e2303097bf1
parentdc22ed84807555f6a16c041c16b3bc607c6587d8
Hotpatch for infinite redirection-following loop seen processing URLs to http://clojure.org/ -- if we end up with an unstable redirect target (final item in a redirect chain ends up redirecting us somewhere else when we visit it again), just save the last version we saw instead of trying to start over.

Pretty much everything in File and File_redirection initial processing needs to be rewritten to be non-awful; this code is very hard to follow and very easy to make huge bugs. A fair amount of the complication is probably obsoleted by the redirection following being built into HTTPClient now.
classes/File.php