Bugzilla – Attachment 176874 Details for
Bug 37918
Properly encode email subjects in mailto: links
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37918: Remove the new dependency
Bug-37918-Remove-the-new-dependency.patch (text/plain), 1.56 KB, created by
Paul Derscheid
on 2025-01-21 16:32:16 UTC
(
hide
)
Description:
Bug 37918: Remove the new dependency
Filename:
MIME Type:
Creator:
Paul Derscheid
Created:
2025-01-21 16:32:16 UTC
Size:
1.56 KB
patch
obsolete
>From 039c17a9a1466157946e6d8b1cac0503eed62f9a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 15 Jan 2025 16:20:14 +0100 >Subject: [PATCH] Bug 37918: Remove the new dependency > >Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> >--- > cpanfile | 1 - > t/Koha_Template_Email_Header.t | 5 ++--- > 2 files changed, 2 insertions(+), 4 deletions(-) > >diff --git a/cpanfile b/cpanfile >index 61e2ee4d6e..ce62d7b063 100644 >--- a/cpanfile >+++ b/cpanfile >@@ -114,7 +114,6 @@ requires 'Test', '1.25'; > requires 'Test::Harness', '2.56'; > requires 'Test::MockModule', '0.05'; > requires 'Test::More', '1.302073'; >-requires 'Test::More::UTF8', '0.05'; > requires 'Text::Bidi', '0.03'; > requires 'Text::CSV', '0.01'; > requires 'Text::CSV::Encoded', '0.09'; >diff --git a/t/Koha_Template_Email_Header.t b/t/Koha_Template_Email_Header.t >index 3f6e21a955..da9834c33f 100644 >--- a/t/Koha_Template_Email_Header.t >+++ b/t/Koha_Template_Email_Header.t >@@ -19,9 +19,8 @@ use utf8; > use Modern::Perl; > > use Test::More tests => 4; >-use Test::More::UTF8; > >-use Encode qw(encode); >+use Encode qw(encode encode_utf8); > use Encode::MIME::Header; > > use open qw( :std :encoding(UTF-8) ); >@@ -48,7 +47,7 @@ my @tests = ( > > # Test each case > for my $test (@tests) { >- is($filter->filter($test->{input}), $test->{expected}, "Correctly encoded: '$test->{input} -> $test->{expected}'"); >+ is($filter->filter($test->{input}), $test->{expected}, encode_utf8("Correctly encoded: '$test->{input} -> $test->{expected}'")); > } > > done_testing(); >-- >2.39.5
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 37918
:
171518
|
171994
|
176576
|
176869
|
176870
|
176871
|
176873
| 176874 |
176875
|
177103
|
177104