Skip to content

[BUG] Rejects gorilla.csrf.Token by default #239

@a-h

Description

@a-h

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I noted that Gorilla's CSRF and schema packages don't work with each other by default - see gorilla/csrf#203

As per this comment #135 (comment) the CSRF token is rejected by schema because it contains periods.

I think the behaviour should be that schema is aware of the gorilla CSRF library implementation and has a special case for gorilla.csrf.Token - i.e. to ignore it.

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions