Bugzilla – Attachment 56840 Details for
Bug 13245
Send Cart via Email corrupts some Unicode characters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for correcting the cart email encoding
opac-sendbasket.patch (text/plain), 941 bytes, created by
Filippos Kolovos
on 2016-10-25 09:21:32 UTC
(
hide
)
Description:
Patch for correcting the cart email encoding
Filename:
MIME Type:
Creator:
Filippos Kolovos
Created:
2016-10-25 09:21:32 UTC
Size:
941 bytes
patch
obsolete
>--- opac-sendbasket.pl 2016-10-25 12:04:24.917112600 +0300 >+++ opac-sendbasket-patched.pl 2016-10-25 12:02:40.837112600 +0300 >@@ -57,7 +57,7 @@ > my $user_email = GetFirstValidEmailAddress($borrowernumber) > || C4::Context->preference('KohaAdminEmailAddress'); > >- my $email_replyto = "$user->{firstname} $user->{surname} <$user_email>"; >+ my $email_replyto = Encode::encode("MIME-Q","$user->{firstname} $user->{surname} <$user_email>"); > my $comment = $query->param('comment'); > > # if you want to use the KohaAdmin address as from, that is the default no need to set it >@@ -129,7 +129,7 @@ > if ( $template_res =~ /<SUBJECT>(.*)<END_SUBJECT>/s ) { > $mail{subject} = $1; > $mail{subject} =~ s|\n?(.*)\n?|$1|; >- $mail{subject} = Encode::encode("UTF-8", $mail{subject}); >+ $mail{subject} = Encode::encode("MIME-Q", $mail{subject}); > } > else { $mail{'subject'} = "no subject"; } >
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 13245
:
33605
|
33606
|
33607
|
56836
|
56837
|
56838
|
56839
| 56840 |
56841