You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit: 9a4140a made a change to suppress parse errors in the MethodOverride middleware. I suppose this is fine in production, but I just spent half a day tracking down why my rails app was ignoring _method and treating tunnelled PATCH requests as POST. In order to save some other poor soul from the same ill fate, I would suggest to log a warning of some kind when this happens - or perhaps fall back on a less strict parser (not sure how good an idea that is though).
The text was updated successfully, but these errors were encountered:
troelskn
added a commit
to troelskn/rack
that referenced
this issue
Jan 26, 2016
This commit: 9a4140a made a change to suppress parse errors in the MethodOverride middleware. I suppose this is fine in production, but I just spent half a day tracking down why my rails app was ignoring
_method
and treating tunnelled PATCH requests as POST. In order to save some other poor soul from the same ill fate, I would suggest to log a warning of some kind when this happens - or perhaps fall back on a less strict parser (not sure how good an idea that is though).The text was updated successfully, but these errors were encountered: