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
Fabien Potencier
ec7fb0bdd6
[Routing] added a proper exception when a route pattern references the same variable more than once ( closes #3344 )
2012-02-14 11:41:45 +01:00
Fabien Potencier
68b7662400
fixed CS
2011-10-29 12:03:59 +02:00
Alberto Pirovano
ae3aded83f
Added PCRE_DOTALL modifier to RouteCompiler to allow urlencoded linefeed in route parameters.
2011-09-23 16:53:06 +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
d2a9b23c28
[Routing] fixed routing when a pattern has only one segment which is an optional variable
2011-05-03 08:54:33 +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
Artur Kotyrba
3f73a748a9
[Routing] Fixed compiling routes with empty string or 0 as default parameter value.
2011-03-13 18:13:41 +01:00
Fabien Potencier
8c423edfef
replaced symfony-project.org by symfony.com
2011-03-06 12:40:06 +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
Fabien Potencier
bf82cf42dd
renamed Symfony\Components to Symfony\Component
2010-08-20 23:09:55 +02:00