summaryrefslogtreecommitdiffstats
path: root/url.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-09-17 23:17:58 +0200
committerJunio C Hamano <gitster@pobox.com>2012-09-18 00:24:52 +0200
commit176943b9658b1fa9ae3972156100d831d19c3576 (patch)
tree19b39b2c585260ef38740ba3b2f4c9d78d5cc777 /url.c
parentGit 1.7.10.5 (diff)
downloadgit-176943b9658b1fa9ae3972156100d831d19c3576.tar.xz
git-176943b9658b1fa9ae3972156100d831d19c3576.zip
mailinfo: do not concatenate charset= attribute values from mime headers
"Content-type: text/plain; charset=UTF-8" header should not appear twice in the input, but it is always better to gracefully deal with such a case. The current code concatenates the value to the values we have seen previously, producing nonsense such as "utf8UTF-8". Instead of concatenating, forget the previous value and use the last value we see. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'url.c')
0 files changed, 0 insertions, 0 deletions