Skip to content

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

Closed
@o0Ignition0o

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 ?

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