gh-143930: Reject leading dashes in webbrowser URLs#143931
gh-143930: Reject leading dashes in webbrowser URLs#143931sethmlarson merged 1 commit intopython:mainfrom
Conversation
|
What about / or other common option prefixes? |
|
@Yhg1s I'm concerned that there are use-cases for calling |
|
on windows a '/' prefix is typically a command line flag - does it actually work as an absolute current drive path on edge/chrome/firefox? to be a url for that it really should be "file://" |
|
Yeah we currently support opening absolute paths via |
|
Thanks @sethmlarson for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11, 3.12, 3.13, 3.14. |
|
Sorry, @sethmlarson, I could not cleanly backport this to |
|
Sorry, @sethmlarson, I could not cleanly backport this to |
|
Sorry, @sethmlarson, I could not cleanly backport this to |
|
GH-146364 is a backport of this pull request to the 3.11 branch. |
|
GH-146364 is a backport of this pull request to the 3.11 branch. |
|
GH-146359 is a backport of this pull request to the 3.10 branch. |
Reject leading dashes in webbrowser URLs (pythonGH-143931) (pythonGH-146359) Cherry-picked from Python 3.10: ad4d5ba (cherry picked from commit 82a24a4) Co-authored-by: Seth Michael Larson <seth@python.org>
Reject leading dashes in webbrowser URLs (pythonGH-143931) (pythonGH-146364) (cherry picked from commit 82a24a4) Co-authored-by: Seth Michael Larson <seth@python.org>
Reject leading dashes in webbrowser URLs (pythonGH-143931) (pythonGH-146359) (cherry picked from commit 82a24a4) Backported from Python 3.10: ad4d5ba Co-authored-by: Seth Michael Larson <seth@python.org>
Uh oh!
There was an error while loading. Please reload this page.