-
Notifications
You must be signed in to change notification settings - Fork 155
Closed
Labels
Description
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:
- In scheme state, stop jumping to file state directly before checking special authority slashes state.
- In special authority ignore slashes state, add file state check.
- In scheme state, add file state check before jumping to special relative or authority state.
Resources:
- In the bs file, it can be like this: watilde@b587151
- Here is an example impl: watilde/node@247f960
What do you think?
domenic, kubosho and lacolaco