"GICodeWarrior" posted a comment on MediaWiki.r102587. URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/102587#c27385
Commit summary for MediaWiki.r102587: Add wfRemoveDotSegments and unit tests. This is a sane step towards fixing bug 32168. This implements RFC3986 Section 5.2.4. http://tools.ietf.org/html/rfc3986#section-5.2.4 This is important because you need to remove dot segments in order to safely compare URLs when limiting URLs to a particular path. GICodeWarrior's comment: Nice find. It appears correct. Feel free to swap it in if you prefer. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
