Sorry, something went wrong.
|
It fixes also more serious security issue #67693. |
Sorry, something went wrong.
There was a problem hiding this comment.
The code changes and tests look good to me.
Sorry, something went wrong.
| ('//path/to/file', | ||
| ('', 'path', '/to/file', '', '', ''), | ||
| ('', 'path', '/to/file', '', '')), | ||
| ('////path/to/file', |
There was a problem hiding this comment.
This case was broken.
Sorry, something went wrong.
| ('scheme://path/to/file', | ||
| ('scheme', 'path', '/to/file', '', '', ''), | ||
| ('scheme', 'path', '/to/file', '', '')), | ||
| ('scheme:////path/to/file', |
There was a problem hiding this comment.
This case was broken.
Sorry, something went wrong.
| ('file:///tmp/junk.txt', | ||
| ('file', '', '/tmp/junk.txt', '', '', ''), | ||
| ('file', '', '/tmp/junk.txt', '', '')), | ||
| ('file:////tmp/junk.txt', |
There was a problem hiding this comment.
This case was broken.
Sorry, something went wrong.
| ('file:////tmp/junk.txt', | ||
| ('file', '', '//tmp/junk.txt', '', '', ''), | ||
| ('file', '', '//tmp/junk.txt', '', '')), | ||
| ('file://///tmp/junk.txt', |
There was a problem hiding this comment.
This case was broken.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM!
Sorry, something went wrong.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9, 3.10, 3.11, 3.12, 3.13. |
Sorry, something went wrong.
|
GH-119025 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
|
GH-119026 is a backport of this pull request to the 3.10 branch. |
Sorry, something went wrong.
|
GH-119027 is a backport of this pull request to the 3.9 branch. |
Sorry, something went wrong.
|
GH-119028 is a backport of this pull request to the 3.8 branch. |
Sorry, something went wrong.
Based on #15297.
Co-authored-by: Ashwin Ramaswami aramaswamis@gmail.com