[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>
3 files changed