Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34.3k
gh-143930: Reject leading dashes in webbrowser URLs#143931
gh-143930: Reject leading dashes in webbrowser URLs#143931sethmlarson merged 1 commit intopython:mainfrom
Conversation
Yhg1s commentedJan 19, 2026
What about / or other common option prefixes? |
sethmlarson commentedJan 19, 2026
@Yhg1s I'm concerned that there are use-cases for calling |
gpshead commentedJan 24, 2026
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://" |
sethmlarson commentedMar 20, 2026
Yeah we currently support opening absolute paths via |
82a24a4 intopython:mainUh oh!
There was an error while loading.Please reload this page.
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 the3.11 branch. |
GH-146364 is a backport of this pull request to the3.11 branch. |
GH-146359 is a backport of this pull request to the3.10 branch. |
Uh oh!
There was an error while loading.Please reload this page.