-
-
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-38449: Add URL delimiters test cases #16729
Conversation
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 think semicolon is only one of the tricky case, there could be others which would result in a similar error case, especially the delimiters for various parts of a URL:
scheme://netloc/path;parameters?query#fragment
So, I think, ;
, ?
and #
would have similar behaviour when parsing using urllib.parse.urlparse
for determining the mimetype.
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Thanks for the review. |
Thanks for making the requested changes! @maxking: please review the changes made to this pull request. |
@maxking gentle ping~ |
@maxking: Please replace |
I'm having trouble backporting to |
GH-17431 is a backport of this pull request to the 3.7 branch. |
* bpo-38449: Add tricky test cases * bpo-38449: Reflect codereview (cherry picked from commit 2fe4c48) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* bpo-38449: Add tricky test cases * bpo-38449: Reflect codereview (cherry picked from commit 2fe4c48) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
GH-17432 is a backport of this pull request to the 3.8 branch. |
* bpo-38449: Add tricky test cases * bpo-38449: Reflect codereview
* bpo-38449: Add tricky test cases * bpo-38449: Reflect codereview
https://bugs.python.org/issue38449