-
Notifications
You must be signed in to change notification settings - Fork 105
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
Encode hostname directly instead of netloc #174
Conversation
Codecov Report
@@ Coverage Diff @@
## master #174 +/- ##
==========================================
- Coverage 95.68% 95.61% -0.07%
==========================================
Files 7 7
Lines 463 479 +16
Branches 88 94 +6
==========================================
+ Hits 443 458 +15
Misses 10 10
- Partials 10 11 +1
|
@Gallaecio The CI is failing on Build / build (3.9, pylint) (pull_request) but its not related to the code that i changed.
|
I need to delay my review until I have the time to carefully look into the potential issues with encoding and decoding each separate field. |
@Laerte Sorry for the wait, I finally had a proper look. I have created a pull request against your branch, https://github.com/Laerte/w3lib/pull/1, please have a look when you get a chance.
|
safe_url_string: encode | and % in userinfo
@Gallaecio Thank you! Do you think we can merge this to |
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 looks good to me. I’ll try and get someone else to have a look as well before we merge.
@wRAR Do you mind to take a look on this one? Thanks! |
This fix the issue