Skip to content

spec inconsistency wrt forward slash after host if there's no path ? #531

Description

@o0Ignition0o

As mentioned in my WIP pull request ( #523 ) I'm a bit confused wrt the forward slash uri parsing when there's no path :

a port setter test
seems to be inconsistent with a protocol setter test
There doesn't seem to be any consistency in WPT wrt the "/" when there is no path.
The specification seems to dismiss '/' at the end if there is no path:
" Otherwise, then for each string in url’s path, append U+002F (/) followed by the string to output."

Does anyone have any pointers on how I'm supposed to handle it ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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