Bugzilla – Attachment 174105 Details for
Bug 22223
Item url double-encode when parameter is an encoded URL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22223: t::lib::QA::TemplateFilters missing built-in TT filter "safe_url" causes false warnings
Bug-22223-tlibQATemplateFilters-missing-built-in-T.patch (text/plain), 927 bytes, created by
Jonathan Druart
on 2024-11-07 08:49:14 UTC
(
hide
)
Description:
Bug 22223: t::lib::QA::TemplateFilters missing built-in TT filter "safe_url" causes false warnings
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2024-11-07 08:49:14 UTC
Size:
927 bytes
patch
obsolete
>From f4db6dc27b1bbf874823e0b2d6cb6826258563a7 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Thu, 7 Nov 2024 01:37:14 +0000 >Subject: [PATCH] Bug 22223: t::lib::QA::TemplateFilters missing built-in TT > filter "safe_url" causes false warnings > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/lib/QA/TemplateFilters.pm | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/t/lib/QA/TemplateFilters.pm b/t/lib/QA/TemplateFilters.pm >index 113b1f9163c..86aa034df3c 100644 >--- a/t/lib/QA/TemplateFilters.pm >+++ b/t/lib/QA/TemplateFilters.pm >@@ -161,6 +161,9 @@ sub process_tt_block { > # Already has trim filter > or $tt_block =~ m{\|\s?trim} > >+ # Already has safe_url filter >+ or $tt_block =~ m{\|\s?safe_url} >+ > # Specific for [% foo UNLESS bar %] > or $tt_block =~ m{^(?<before>\S+)\s+UNLESS\s+(?<after>\S+)} > ; >-- >2.34.1
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 22223
:
89352
|
126174
|
132027
|
133567
|
133578
|
133589
|
133590
|
170485
|
170577
|
174101
|
174104
| 174105