Skip to content

sanitize(url).xss() is messing up twitter URLs with hashtags #206

@jonathanong

Description

@jonathanong
sanitize('https://twitter.com/search?q=%23JusticeforCharles').xss()

becomes

'https://twitter.com/search?q=#JusticeforCharles'

which completely destroys my links as the # is now a hash instead of a search term.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions