Implemented
0
CSRF is not skipped for HEAD requests
Source: nextcloud/server#18856 · opened by @HolgerHees
In the file [/apps/dav/lib/Connector/Sabre/Auth]( Line 173 (Function requiresCSRFCheck) we skip CSRF checks only for GET requests. Why not for HEAD requests?
I mean a HEAD request is a GET request without the BODY:
Can we add a the HEAD method here too? If yes I can create a pull request if you want.
I mean a HEAD request is a GET request without the BODY:
Can we add a the HEAD method here too? If yes I can create a pull request if you want.
No pledges yet. Be the first to back this.
Comments
Similar requests
CORS middleware skips the CSRF protection based on a session flag instead of the request's credentials
0 votes · 0 comments
Only check OCS-APIREQUEST header in case of an apptoken
0 votes · 0 comments
Combobox shell: header input + anchored results popover
0 votes · 0 comments
Support the forwarded header that superceedes X-Forwarded-For
0 votes · 0 comments
feat(dav): only send calendar update emails for important changes
0 votes · 0 comments
No comments yet.