summaryrefslogtreecommitdiff
path: root/lib/sql/grant-all.mysql.sql
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@toke.dk>2020-12-01 22:15:11 +0100
committerStephen Finucane <stephenfinucane@hotmail.com>2020-12-11 22:56:15 +0000
commit2fdc8895b047dfec00105d35b96d0ed17f0daf39 (patch)
tree738e532f30b0fb67aec1dbe3b9e82ae11eb65be7 /lib/sql/grant-all.mysql.sql
parente1cd856dd6a723675cf1cd8e0fcc2e51f9c326e6 (diff)
downloadpatchwork-2fdc8895b047dfec00105d35b96d0ed17f0daf39.tar
patchwork-2fdc8895b047dfec00105d35b96d0ed17f0daf39.tar.gz
views/patch: Set correct encoding for patches
The patch_mbox view returns text/plain data without specifying a character set, which means clients will assume the default of iso-8559-1 as defined in the HTTP/1.1 standard. Since the data being returned is in fact utf-8 encoded, set the encoding accordingly in the HTTP Content-Type header. Reported-by: Jakub Kicinski <kuba@kernel.org> Suggested-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org> Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Diffstat (limited to 'lib/sql/grant-all.mysql.sql')
0 files changed, 0 insertions, 0 deletions