-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Monaco uri parse wrongly parses URL #1097
Comments
itllooks like the / is being escaped |
It's not about |
Sorry for reopening it again but I solved it previously another way (using a vue router instead of monaco redirection) and now I encounter the issue once again. So I register a custom definition provider:
And now I am redirected to the uri with escaped |
monaco.Uri.parse
wrongly parses URL if it contains the fragment part in the beginning of the path.This is my url:
http://localhost:8081/#/applications/app/82bb8afa-0401-4562-aca2-2eb1ff2eb06a/field/fe5ba7a9-689d-4cc2-89ae-fc076c6473cc
The parse method turns it into:
http://localhost:8081/#/%2Fapplications%2Fapp%2F82bb8afa-0401-4562-aca2-2eb1ff2eb06a%2Ffield%2Ffe5ba7a9-689d-4cc2-89ae-fc076c6473cc
When I remove the # sign it works, but that is a valid URL, so I would expect it to be handled by the parser.
The text was updated successfully, but these errors were encountered: