"Marooned" posted a comment on MediaWiki.r94881. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94881#c28294
Commit summary for MediaWiki.r94881: Relative values of the "Location" header are incorrect as stated in RFC, however they do happen and modern browsers support them. This function loops backwards through all locations in order to build the proper absolute URI - Marooned at wikia-inc.com Marooned's comment: I can't remember the site causing troubles but I've fixed that functions because of a real case. I got multiple Location headers from getResponseHeaders() and some of them were relative. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
