]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] 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:58:03 +0000 (14:58 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2022 21:58:03 +0000 (23:58 +0200)
commit0a4f650347fdcfd82d094ab2134ca89584f4e877
tree6bfc9c0e6ebfcf12a05d8ee84931bc83a3c6fe01
parenta44cc0a895590e9292193c46d344a14c511e7f33
[3.8] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (#98192)

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>
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
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]