]> 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:57:08 +0000 (13:57 +0000)
commit22093692a80f9c028dc424cb1e664d449d0dcc4e
tree0098f61e956e7c72e501f92bf4a97ef442d9c99e
parent9b26f5843bd60e2c6e1b731519b2709db4fd28a3
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
patchwork/tests/test_mboxviews.py
patchwork/views/utils.py