Bugzilla – Attachment 183021 Details for
Bug 40087
Remove unused C4::Scrubber profiles "tag" and "staff"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40087: Remove "tag" and "staff" scrubber profiles
Bug-40087-Remove-tag-and-staff-scrubber-profiles.patch (text/plain), 1.12 KB, created by
David Cook
on 2025-06-06 01:26:26 UTC
(
hide
)
Description:
Bug 40087: Remove "tag" and "staff" scrubber profiles
Filename:
MIME Type:
Creator:
David Cook
Created:
2025-06-06 01:26:26 UTC
Size:
1.12 KB
patch
obsolete
>From db45658fa9166d8ed8d4ed04f9ac9d7e0e205ddd Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 6 Jun 2025 01:24:25 +0000 >Subject: [PATCH] Bug 40087: Remove "tag" and "staff" scrubber profiles > >This patch removes unused "tag" and "staff" scrubber profiles. > >Test plan: >0. Apply the patch >1. prove t/Koha/Plugins/HtmlScrubber.t >2. prove t/Scrubber.t >3. Grep around the code for C4::Scrubber and make sure "tag" >and "staff" aren't used as arguments for C4::Scrubber >--- > C4/Scrubber.pm | 5 ----- > 1 file changed, 5 deletions(-) > >diff --git a/C4/Scrubber.pm b/C4/Scrubber.pm >index 855524e2b6..f5201418e7 100644 >--- a/C4/Scrubber.pm >+++ b/C4/Scrubber.pm >@@ -28,13 +28,8 @@ use C4::Context; > > my %scrubbertypes = ( > default => {}, # place holder, default settings are below as fallbacks in call to constructor >- tag => {}, # uses defaults > comment => { allow => [qw( br b i em big small strong )], }, > note => { allow => [qw[ br b i em big small strong u hr span div p ]] }, >- staff => { >- default => [ 1 => { '*' => 1 } ], >- comment => 1, >- }, > ); > > sub new { >-- >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 40087
:
183021
|
183032
|
183033
|
183034
|
183036
|
183037