-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Move to WHATWG URL API #7
Comments
Can't we just replace |
@sindresorhus What if the original URL already has this included? |
Hm. We could use |
In my use case I want to use the truncated URL for a linkchecker dashboard and that wouldn't work well with the Maybe we could insert an unique string and replace it with |
Yeah, that could work. |
This package uses the deprecated legacy URL API, so I tried to make it work with the new WHATWG URL API. But that's not possible due to the new path encoding →
…
becomes%E2%80%A6
when formatting the URL. Maybe we need to manually format the URL or insert...
instead.The text was updated successfully, but these errors were encountered: