Bugzilla – Attachment 82608 Details for
Bug 21874
Encoding broken in list and cart email subjects
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21874: (QA follow-up) Fix intranet sendshelf
Bug-21874-QA-follow-up-Fix-intranet-sendshelf.patch (text/plain), 1.09 KB, created by
Marcel de Rooy
on 2018-11-23 11:10:10 UTC
(
hide
)
Description:
Bug 21874: (QA follow-up) Fix intranet sendshelf
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2018-11-23 11:10:10 UTC
Size:
1.09 KB
patch
obsolete
>From f94a9cecc1e680dae3c89f0321fbf516b1b16513 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 23 Nov 2018 12:02:51 +0100 >Subject: [PATCH] Bug 21874: (QA follow-up) Fix intranet sendshelf >Content-Type: text/plain; charset=utf-8 > >Move encode line below regex line. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > virtualshelves/sendshelf.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/virtualshelves/sendshelf.pl b/virtualshelves/sendshelf.pl >index 08a3ac1..3c077ef 100755 >--- a/virtualshelves/sendshelf.pl >+++ b/virtualshelves/sendshelf.pl >@@ -113,10 +113,11 @@ if ($email) { > > # Analysing information and getting mail properties > if ( $template_res =~ /<SUBJECT>(.*)<END_SUBJECT>/s ) { >- $mail{'subject'} = encode('MIME-Header', $1); >+ $mail{subject} = $1; > $mail{subject} =~ s|\n?(.*)\n?|$1|; > } > else { $mail{'subject'} = "no subject"; } >+ $mail{subject} = encode( 'MIME-Header', $mail{subject} ); > > my $email_header = ""; > if ( $template_res =~ /<HEADER>(.*)<END_HEADER>/s ) { >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21874
:
82603
|
82604
|
82605
|
82606
|
82607
|
82608
|
82609
|
82610
|
82612
|
82613