]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.7] 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 20:27:14 +0000 (13:27 -0700)
committerGitHub <noreply@github.com>
Tue, 11 Oct 2022 20:27:14 +0000 (22:27 +0200)
commit6e8e9e7c030b6236ff220362944cba1b93c84bc4
treeb5ae1c1f470e555be4e2c39ca1e8da868d84089d
parent6d576a44791eb92bfb9a6fed58e844485c2f381d
[3.7] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (GH-98191)

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]