]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.10] gh-143930: Reject leading dashes in webbrowser URLs (GH-143931) (GH-146359)
authortomcruiseqi <tom33qi@gmail.com>
Tue, 24 Mar 2026 18:23:45 +0000 (02:23 +0800)
committerGitHub <noreply@github.com>
Tue, 24 Mar 2026 18:23:45 +0000 (19:23 +0100)
commitad4d5ba32af4d80b0dfa2ba9d8203bfb219e60a5
tree4044c7c74a677e316462acecf57f89ece746ed71
parentba6eba5a85a52f7978e0dbf260e4e52d697af01a
[3.10] gh-143930: Reject leading dashes in webbrowser URLs (GH-143931) (GH-146359)

(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]