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

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