https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29781

Nick Clemens <n...@bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n...@bywatersolutions.com

--- Comment #13 from Nick Clemens <n...@bywatersolutions.com> ---
I tried executing code and couldn't exploit it

perl -e 'use Koha::Items; warn Koha::Items::apply_regex({value=>q{KF 123 .A987
c. 11  v. 22},search=>q{(^[A-Z]+
\d+\b)\s+(\.[A-Z]+\d+\b)\s+(c\.\s\d+\b)\s+(v\.\s\d+\b)}, replace=>q{ $1 $2 $4
$3 object_class() }});'

If I comment out the lines that quote the replace I get 'Koha::Items' - so that
protection seems to work

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to