Bug 8368: (follow-up) restore use of quoted printable for message body
authorGalen Charlton <gmc@esilibrary.com>
Fri, 18 Oct 2013 07:25:29 +0000 (07:25 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 18 Oct 2013 07:27:30 +0000 (07:27 +0000)
This is necessary to prevent the equals sign that is part of the
link back to the OPAC from being mangled, thereby breaking the
link.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

opac/opac-sendshelf.pl

index cc70765..80b54e2 100755 (executable)
@@ -134,6 +134,7 @@ if ( $email ) {
         : "list.txt";
 
     my ($body) = $template_res =~ /<MESSAGE>\n(.*)\n?<END_MESSAGE>/s;
+    $body = encode_qp($body);
 
     my $boundary = "====" . time() . "====";