]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-143930: Reject leading dashes in webbrowser URLs (GH-146360)
authorPinky <pinky00ch@gmail.com>
Tue, 24 Mar 2026 19:32:37 +0000 (01:02 +0530)
committerGitHub <noreply@github.com>
Tue, 24 Mar 2026 19:32:37 +0000 (20:32 +0100)
commitcbba6119391112aba9c5aebf7b94aea447922c48
treecf873be1d2887f365d081f0c8ca6acc4e5868bed
parent57cc1bdfdbc208c9f4c788a58ef6554e0bd0d493
[3.12] gh-143930: Reject leading dashes in webbrowser URLs (GH-146360)

(cherry picked from commit 82a24a4442312bdcfc4c799885e8b3e00990f02b)

Co-authored-by: Seth Michael Larson <seth@python.org>
Lib/test/test_webbrowser.py
Lib/webbrowser.py
Misc/NEWS.d/next/Security/2026-01-16-12-04-49.gh-issue-143930.zYC5x3.rst [new file with mode: 0644]