Skip to content

PureText NORMAL vs STRICT MODE always uses STRICT mode #1458

@Madisonw

Description

@Madisonw

https://github.com/revel/revel/blob/a3d7a7c23ca885cc5036d3641ede49ce4a14ee2e/validators.go#L569:L572

The world's most opinionated Switch statement directs you to PureTextStrict regardless of if you are in PureText NORMAL or PureText STRICT.

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