-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 panic on invalid file URI #3275 #3308
Fix panic on invalid file URI #3275 #3308
Conversation
Thanks for the PR. You have created the PR against the master branch but the PR template states that it should target |
Also, please add "Fixes #3275" to the description. This will close the issue automatically when the PR is merged |
@Jacalz Updated as per comments |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I have one comment on making the code more readable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would also be good if you could rebase on develop
given that #3301 landed recently and fixed another crash.
badf620
to
3a19bcf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel that it would be good to have an actual test case for Parse
(in the right place) that tests when an error should happen. The new code path is never tested to actually be working unfortunately
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good thanks
@Jacalz there is still an outstanding change request from you but I think it's good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed. Looks good. Thanks for working on this :)
Description:
Fixes #3275
Checklist: