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

Fix: Support unicode characters #2758

Merged
merged 4 commits into from
Sep 7, 2023
Merged

Conversation

thewahome
Copy link
Collaborator

Overview

Fixes #2756

Notes

The ABNF parser is unable to correctly validate the characters in the URL and crashes.

Adding a try catch block ensures the page fails gracefully since a failure in validation should not break the experience

Testing Instructions

  • Run Graph Explorer
  • In the address bar, write https://graph.microsoft.com/v1.0/me/💕
  • Page does not crash

@thewahome thewahome requested a review from a team as a code owner August 29, 2023 08:36
Onokaev
Onokaev previously approved these changes Aug 30, 2023
@Onokaev Onokaev self-requested a review September 7, 2023 07:53
@thewahome thewahome merged commit 46353fa into dev Sep 7, 2023
@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@thewahome thewahome deleted the fix/support-unicode-characters branch September 27, 2023 12:06
@thewahome thewahome mentioned this pull request Nov 3, 2023
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

Successfully merging this pull request may close these issues.

Does Not Support All Unicode Chars
4 participants