aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-05-10 15:15:54 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-05-10 15:15:54 +0200
commit504c38512fb1126b06462ed47ea0ade37b48e0f1 (patch)
tree6cfe0bae44509bee88bbe5b28e019f4c899b8a32
parent6717b0f0864a954921f4148923207791b273dfb7 (diff)
downloadperlisdead-504c38512fb1126b06462ed47ea0ade37b48e0f1.tar.gz
p5p: Fix subject encoding
-rwxr-xr-xrun/p5p1
1 files changed, 1 insertions, 0 deletions
diff --git a/run/p5p b/run/p5p
index 02530a6..e645bba 100755
--- a/run/p5p
+++ b/run/p5p
@@ -37,6 +37,7 @@ for my $alt (@alt) {
$f{$id} =~ s,@[^.]*\.,@<i>hidden</i>.,;
$s{$id} = '(no subject)' if not exists $s{$id};
+ $s{$id} =~ s/Re:=\?/Re: =?/; # fix encoding
$s{$id} = $decoder->decode_text($s{$id});
$s{$id} = encode_entities($s{$id});