-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
This page crashed. URI malformed #9519
Comments
So far I've only reproduced this bug on Microsoft Edge (Version 114.0.1823.36 64-bit) on Xbox One, I can check to see if there's any other browsers that do it as well. I've tested it on Chrome 114 on Android 9 and was unable to reproduce. |
Update, the crash only occurs when typing in an emoji in the box, if I paste a complete set of params all at once such as |
Cool, was able to reproduce on win10 just now, I did not have an issue with regular emoji or win+. emoji edit: confirmed for firefox |
Was able to confirm it in the demo of https://github.com/cloud-annotations/docusaurus-openapi plugin we use:
|
I found the bug on docusaurus-openapi, this is the result of onInput for UTF-16 encoded emoji by the keyboard, The current on input solution tries to translate those to URI which fails and results in this error. I will PR a solution today or tomorrow. |
This took longer than I wanted it to, but the fix for this is now deployed |
Are you experiencing an issue with...
shields.io
🐞 Description
When using the badge maker/tester UI at https://shields.io/badges, the page instantly crashes if the user attempts to input an emoji into the topmost field, showing the message "This page crashed. URI malformed"
🔗 Link to the badge
💡 Possible Solution
Something's presumably choking on extra-long unicode characters such as emojis. Will investigate further
The text was updated successfully, but these errors were encountered: