]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Oct 2022 21:13:18 +0000 (14:13 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2022 21:13:18 +0000 (23:13 +0200)
commitc59a16e2c7495a90e6d23a48ec98623f3fb1e176
tree21ccaea7706c3ec551df9837fa5fc6feab744ecb
parentbd4e5320e5e7c58c048c8c1739467fc47d471dd1
[3.9] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (#98190)

gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993)
(cherry picked from commit b9509ba7a9c668b984dab876c7926fe1dc5aa0ba)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Doc/library/mailcap.rst
Lib/mailcap.py
Lib/test/test_mailcap.py
Misc/NEWS.d/next/Security/2022-04-27-18-25-30.gh-issue-68966.gjS8zs.rst [new file with mode: 0644]