Skip to content

Reserved characters (RFC 3986) in URLs are handled inconsistently #515

@PseudoResonance

Description

@PseudoResonance

Steps to reproduce

  1. Send URL such as https://genshin-impact.fandom.com/wiki/Ho%27olauna_aloha!, https://en.wikipedia.org/wiki/' (note the trailing single quote)

Outcome

What did you expect?

Linkify should include the trailing reserved characters, as they are not required to be percent encoded, as defined in RFC 3986.

What happened instead?

Linkify will exclude the trailing exclamation mark, single quote, etc, making the URL invalid.

From element-hq/element-web/issues/29918

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