Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Protocol-relative URL (PRL) #48

Open
besfahbod opened this issue Mar 19, 2020 · 2 comments
Open

Support Protocol-relative URL (PRL) #48

besfahbod opened this issue Mar 19, 2020 · 2 comments

Comments

@besfahbod
Copy link
Contributor

Levels of support can be like:

  1. Parsing PRL strings into an object and then back to the string should work out of the box.
  2. Allow generation of PRL from a relative URL.
  3. Allow downgrading a URL with protocol into a PRL.

Specifically, (1) is very important when using the library on href values, which can be intentionally kept as PRL, for better client support.

References:

What do you think?

@Mikhus
Copy link
Owner

Mikhus commented Apr 5, 2020

Would you like to consider PR for this? :)

@besfahbod
Copy link
Contributor Author

besfahbod commented Apr 6, 2020

Will try to find the time for it. (Probably need to fix the path encoding issue, first, though.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants