User "Marooned" posted a comment on MediaWiki.r94881.

Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94881#c21289
Commit summary:

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

Comment:

Catrope: using wfParseUrl rise a notice: "Undefined index: scheme" when passed 
URL has only relative part of the path (eg. "/some/folder/foo") so I'll stick 
with parse_url() - "Location" should not have protocols like "news:"; so it 
should be safe to leave PHP native function.

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to