Skip to content

Missing filter to escape HTML attributes #116

@slatian

Description

@slatian

Related to #37

I'd like to see an additional escape_html_attribute filter that follows the much stricter OWASP recommendation for html attribute encoding.

I've already implemented this for a library that I'm building:
https://codeberg.org/slatian/lib-humus/src/branch/main/src/util.rs

My code is AGPL. In case anyone considers that little snippet copyrightable:
You have my explicit permission to copy and re-license under MIT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions