-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Uri.TryCreate throws IndexOutOfRangeException #28614
Comments
Hey @Metalnem, thanks for reporting this! The decoded version of that string is On a different note, SharpFuzz looks like a fantastic project. I'd love to get it running regularly against System.Uri. |
😃 |
Sounds great. If you run into any other URI related issues feel free to open an issue and tag me so I can take a look. The only exception would be anything potentially security related -- in that case you should hold off opening an issue, and should email [email protected] instead. |
Uri.TryCreate is a non-throwing method, but for some inputs it can throw IndexOutOfRangeException. Here's the full program that reproduces this:
The stack trace:
The environment:
Found via SharpFuzz.
The text was updated successfully, but these errors were encountered: