bpo-38449: Add URL delimiters test cases#16729
Conversation
maxking
left a comment
There was a problem hiding this comment.
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