-
-
Notifications
You must be signed in to change notification settings - Fork 31.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
bpo-30566: Fix IndexError when using punycode codec #18632
bpo-30566: Fix IndexError when using punycode codec #18632
Conversation
Trying to decode an invalid string with the punycode codec shoud raise UnicodeError.
Codecov Report
@@ Coverage Diff @@
## master #18632 +/- ##
==========================================
- Coverage 82.11% 82.07% -0.05%
==========================================
Files 1956 1955 -1
Lines 589456 584120 -5336
Branches 44459 44461 +2
==========================================
- Hits 484060 479400 -4660
+ Misses 95744 95098 -646
+ Partials 9652 9622 -30
Continue to review full report at Codecov.
|
Thanks @berkerpeksag for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
GH-18651 is a backport of this pull request to the 3.8 branch. |
GH-18652 is a backport of this pull request to the 3.7 branch. |
Trying to decode an invalid string with the punycode codec shoud raise UnicodeError. (cherry picked from commit ba22e8f) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
Trying to decode an invalid string with the punycode codec
shoud raise UnicodeError.
https://bugs.python.org/issue30566