Development branch of AbstractRestfulController->processPostData() doesn't handle Content-Type application/x-www-form-urlencoded correctly #3392

codeinabox opened this Issue Jan 9, 2013 · 2 comments


None yet
2 participants

The development branch of AbstractRestfulController->processPostData() doesn't correctly handle Content-Type application/x-www-form-urlencoded correctly

When checking the request in requestHasContentType(), it incorrectly checks 'Accept' not the submitted content type defined in Content-Type

This is also broken in processBodyContent()


weierophinney commented Jan 22, 2013

This is fixed as of #3442 - that PR updated requestHasContentType to correctly use the Content-Type header, and to test against only the media type when doing so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment