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
The _method POST parameter can be used to override the HTTP method. This means that DELETE, PUT routes can be triggered through CSRF. The documentation should warn that when using libmonade these routes should be CSRF-protected as well.
Additionaly it might be useful to be able to disable this feature.
The text was updated successfully, but these errors were encountered:
Ideally disabling it by default would be fine as it would follow the Principle of Least Astonishment. It would break existing code however.
Adding a CSRF protection by default would break existing code which consume the API directly (not through the browser) so you might want to opt-in as well if you add some CSRF protection.
The
_method
POST parameter can be used to override the HTTP method. This means thatDELETE
,PUT
routes can be triggered through CSRF. The documentation should warn that when using libmonade these routes should be CSRF-protected as well.Additionaly it might be useful to be able to disable this feature.
The text was updated successfully, but these errors were encountered: