]> git.ipfire.org Git - thirdparty/patchwork.git/commit
Don't passthrough 'Content-Type: multipart/signed' header
authorStephen Finucane <stephen@that.guru>
Sun, 4 Nov 2018 14:25:03 +0000 (14:25 +0000)
committerStephen Finucane <stephen@that.guru>
Mon, 12 Nov 2018 13:58:08 +0000 (13:58 +0000)
commit4f1dc4febf7b03449d5d284c5ffa558401a16af0
tree0d87d0f3db8a366f0f08204804b01127edd66fb7
parent7d0b1ddef17283388a1f39099d6c04dadfbd66c5
Don't passthrough 'Content-Type: multipart/signed' header

We don't GPG signatures, therefore this header is incorrect. Stop
passing it through.

Test for the other dropped header are also included.

Signed-off-by: Stephen Finucane <stephen@that.guru>
Acked-by: Veronika Kabatova <vkabatov@redhat.com>
Closes: #221
(cherry picked from commit 22093692a80f9c028dc424cb1e664d449d0dcc4e)
patchwork/tests/test_mboxviews.py
patchwork/views/utils.py