Daniel Friesen
8ddf933100
Followup r104676, r104688:
...
- Update our woefully out of date doc comment for WebRequest::getPathInfo (we haven't simply been extracting a PATH_INFO for ages)
- Make PathRouter::makeWeight protected
- Add more comments to the PathRouter code
- Add two more edge case tests to the PathRouter tests.
2011-12-09 00:28:34 +00:00
Daniel Friesen
d6cf8c57b4
Followup r104274, r104676. Fix the bug that broke fr. Forgot to rawurldecode path contents.
...
Also add /u just for sanity sake.
Add new tests for url encoding, unicode, and length edge cases.
2011-11-30 15:09:08 +00:00
Daniel Friesen
8f8d8e4dfc
Recommit PathRouter code from r104274, r104284, r104285 without the WebRequest.php and hooks.txt code so we can start to add tests and fix the bug in it.
2011-11-30 13:37:22 +00:00
Brion Vibber
73b6bd244a
Revert r104274, r104284, r104285 -- breaks special pages on non-english
2011-11-28 19:55:49 +00:00
Daniel Friesen
63e93db2d8
Implement path routing code.
...
- Makes extending paths with extensions simpler.
- Should fix bug 32621 by parsing paths based on pattern weight rather than pattern order.
2011-11-26 16:29:25 +00:00