Fabien Potencier
03d22b74ec
fixed CS (mainly method signatures)
2012-07-09 14:43:50 +02:00
Fabien Potencier
580c8fa875
fixed CS
2012-04-18 10:41:11 +02:00
Victor Berchet
77185e0998
[Routing] Allow spaces in the script name for the apache dumper
2012-04-10 17:29:43 +02:00
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
9eae7e54ca
[Routing] removed unneeded code in the dumper Apache rules
2011-06-04 12:46:19 +02:00
Kris Wallsmith
b2f5ac8beb
[Routing] refactored URL matching to support 405 Method Not Allowed responses
2011-03-21 05:56:53 -07:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +01:00
Jordi Boggiano
5bf593353f
[Routing] Added optional trailing slash support to ApacheMatcherDumper
2011-02-10 23:46:23 +01:00
Fabien Potencier
b63de46374
[Routing] moved from :var to {var}
...
This follows the "URI template" notation:
http://code.google.com/p/uri-templates/
http://tools.ietf.org/html/draft-gregorio-uritemplate-04
You need to change all your route definitions from something like:
/article/:id
to something like:
/article/{id}
2011-01-11 19:13:16 +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
1e9e1b346d
[Routing] Adding tests for the ApacheMatcherDumper, PhpMatcherDumper and UrlMatcher.
2010-11-27 11:47:48 +01:00