Hey guys-

In case anyone wants to weigh in, I have a pull request to change the
"_method" route requirement to use a (case-insensitive) regular expression
syntax (instead of an array) to be consistent with all other route
requirements. If you don't care, this is just a head's up that your routes
may break if this is accepted... and that you can blame me :).

https://github.com/fabpot/symfony/pull/208

You can see the change in the following example:

BEFORE
some_route:
    pattern:   /:culture
    defaults: {...}
    requirements:
        culture:       en|fr
        _method:    [GET, POST]

AFTER
some_route:
    pattern:   /:culture
    defaults: {...}
    requirements:
        culture:       en|fr
        _method:    GET|POST

Thanks!

Ryan Weaver
Lead Programmer - iostudio - Nashville, TN
http://www.iostudio.com
http://www.thatsquality.com
Twitter: @weaverryan

-- 
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