Victor Berchet
6465a6987a
[Routing] Fixes to handle spaces in route pattern
...
- The route compiler does not add extra space or line-feed,
- The generated regex does not use the 'x' modified any more,
- The PHP and apache matchers do not need to strip any chars (vs space and line feed before),
- The space characters are escaped according to the apache format
2012-04-10 17:29:34 +02:00
Jordi Boggiano
2b5e22d961
[Routing] Fix ApacheDumper when a space appears in a default value
2011-06-29 03:40:13 +02:00
Fabien Potencier
c561f4f0c0
[Routing] changed HTTP method to always be uppercased (to be consistent with HttpFoundation/Request)
2011-06-04 19:06:39 +02:00
Fabien Potencier
f9ffdf5b33
[Routing] added proper support for the HEAD method
2011-06-04 12:47:38 +02:00
Fabien Potencier
9eae7e54ca
[Routing] removed unneeded code in the dumper Apache rules
2011-06-04 12:46:19 +02:00
Fabien Potencier
27d02a7d4a
[Routing] fixed regression (/ should not be matched by /{foo} when foo has no default value)
2011-05-03 14:48:08 +02:00
Fabien Potencier
035afc1f4e
[Routing] fixed regression in Routing matching algorithm
2011-04-26 09:01:25 +02:00
Fabien Potencier
7c95bda751
[Routing] simplified route compiler
2011-04-25 12:38:20 +02:00
Kris Wallsmith
66cbad3433
[Routing] updated test fixture
2011-03-21 06:18:54 -07:00
Kris Wallsmith
b2f5ac8beb
[Routing] refactored URL matching to support 405 Method Not Allowed responses
2011-03-21 05:56:53 -07:00
Jordi Boggiano
5bf593353f
[Routing] Added optional trailing slash support to ApacheMatcherDumper
2011-02-10 23:46:23 +01:00
Ryan Weaver
739ebf92f5
[Routing] Changing the _method route requirement to be a regular expression so that it's consistent with all other requirements.
...
Unlike all other requirements, the _method regex requirement is case-insensitive.
2010-11-27 11:48:57 +01:00
Ryan Weaver
acb977aa88
[Routing] Tweaking the ApacheMatcherDumper formatting - no real change.
2010-11-27 11:48:00 +01:00
Ryan Weaver
1e9e1b346d
[Routing] Adding tests for the ApacheMatcherDumper, PhpMatcherDumper and UrlMatcher.
2010-11-27 11:47:48 +01:00