Fix bug 34684 in my PathRouter code:
authorDaniel Friesen <dantman@users.mediawiki.org>
Fri, 24 Feb 2012 11:31:36 +0000 (11:31 +0000)
committerDaniel Friesen <dantman@users.mediawiki.org>
Fri, 24 Feb 2012 11:31:36 +0000 (11:31 +0000)
commitd0a51ee5a4c08b43681a94ee37df66c3908b8669
treec8e1dec1e586b4106e12e1c48b85bfa8348e898a
parent532f44daa12b036818ece736b5da10c0a2e9611f
Fix bug 34684 in my PathRouter code:
- Update the tests to test extra characters and patterns like like \\ and $1
- Also update the tests to make sure that matches that don't have enough data to work fail
- Replace the str_replace and preg_match based code with code based on preg_replace_callback.
includes/AutoLoader.php
includes/PathRouter.php
tests/phpunit/includes/PathRouterTest.php