Skip to content

CSRF is not skipped for HEAD requests #18856

@HolgerHees

Description

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions