-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
added decoded=False to hyperlink parser #4989
Conversation
@37b the change broke a lot of thing endpoint related. it seems that it needs more modifications |
FYI @kiblik |
I only pushed it into a PR so the tests could run and noticed that. I was going to take a look at fixes when I have time.
Chris Fort
Sent from my iPhone.
… On Aug 27, 2021, at 4:12 AM, Damien Carol ***@***.***> wrote:
@37b the change broke a lot of thing endpoint related. it seems that it needs more modifications
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi @37b how are things going on this? |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
9ca2472
to
7d477c5
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@kiblik have you looked at this? I am not as familiar with the downstream problems caused |
Well, I see no problem with this implementation. However, @37b, are you able to prepare unittests for this scenario? |
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This issue is likely not able to be resolved with current parsing methods. From my limited understanding of URL encoding the character When requesting the URL I presume then that the test tool (in this case WhiteHat Sentinel) is converting the URL to Windows-1252 encoding while being processed for reporting. Since this is somewhat of an edge case and a fix would need fundamental changes to the Endpoint validations/encapsulation I'll just close this out. |
Added decoded=False to hyperlink.parse to mitigate errors when parsing URLs with non-ASCII chars.
See python-hyper/hyperlink#173