Skip to content

Needs to ignore repeated slashes in file URL #232

@watilde

Description

@watilde

Hello!

Since the file state doesn't have a way to jump to the special authority slashes state, once the code enters into the file state, repeated slashes in the beginning of a file URL(e.g. file://///foo/bar should be file:///foo/bar) can't be ignored.

To cover the case, it could be done by the following steps:

  1. In scheme state, stop jumping to file state directly before checking special authority slashes state.
  2. In special authority ignore slashes state, add file state check.
  3. In scheme state, add file state check before jumping to special relative or authority state.

Resources:

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions