Skip to content

delimiter characters not included in component parts #227

@rotu

Description

@rotu

What is the issue with the URL Pattern Standard?

In the URL standard, delimiters are included in their respective parts (hash, protocol, and search):

e.g. new URL("http://example.com:80/bar?baz=bang#id") preserve the delimiters:

  • hash = "#id"
  • protocol = "http:"
  • search = "?baz=bang"

On the other hand, URLPattern objects omit these delimiters:

  • hash = "id"
  • protocol = "http"
  • search = "baz=bang"

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