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

"A security problem occurred" in Edge with @ #55

Open
JelleZijlstra opened this issue May 27, 2020 · 0 comments
Open

"A security problem occurred" in Edge with @ #55

JelleZijlstra opened this issue May 27, 2020 · 0 comments

Comments

@JelleZijlstra
Copy link

In MS Edge, if you pass a malformed url like http://Photo@ to the Url constructor of this library, you get a mysterious exception "A security problem occurred". You can see the same error by just running var link = document.createElement("a"); link.href = "http://Photot@"; link["protocol"]; in console. It would be better if domurl caught this and raised a more understandable error.

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

1 participant