On 01.03.2011 09:04, ryan weaver wrote:
> The rest of the requirements shouldn't be an array, because it would be
> too limiting. For example, the "page" requirement is generally set to be
> a regex that's a "digit". The _method requirement is the only one that's
> "special" - all the other ones are user-created and correspond to a
> placeholder somewhere in the URL.

I think he meant _locale which is also an internal special one.. In
which case I'd agree, if you want to restrict it you should specify a
list of valid locales for your site, not crazy regex patterns.

Cheers

-- 
Jordi Boggiano
@seldaek :: http://seld.be/

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to