I've added support for the 405 Method Not Allowed response here:
https://github.com/symfony/symfony/pull/128

As noted in the description, this patch changes how the URL matches so it 
either returns an array of parameters or throws an exception; it no longer 
returns false. The exception is either a NotFoundException or 
MethodNotAllowedException, the latter of which includes a getAllowedMethods() 
method to use for populating the response Allow header.

Additionally, I've reverted Ryan's earlier patch that changed the syntax for 
defining a _method requirement so it is now either a string or array once 
again, no longer a case-insensitive regular expression.

I have not looked at what it will take to implement 405 support in the Apache 
classes yet.

What do you think?

Thanks,
Kris

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