[Koha-bugs] [Bug 12364] Useless use of '\'; doesn't escape metacharacter '('

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 13 22:46:00 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12364

Marco Moreno <mmoreno at pobox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P5 - low                    |P3
                 CC|                            |mmoreno at pobox.com

--- Comment #1 from Marco Moreno <mmoreno at pobox.com> ---
This is due to unnecessary escapes inside a bracketed character class.

Locate C4/AuthoritiesMarc.pm (for me it was in /usr/share/koha/lib) and replace
line 856 containing this:

my
$filtervalues=qr([\001-\040\!\'\"\`\#\$\%\&\*\+,\-\./:;<=>\?\@\(\)\{\[\]\}_\|\~]);

with this:

my $filtervalues=qr([\001-\040!'"`#$%&*+,\-.:;<=>?@(){}\[\]_|~]);

(See 'man perlrecharclass' under the section 'Special Characters Inside a
Bracketed Character Class'.)

I raised this to medium importance due to getting flooded with cron emails
every 5 minutes.  And if nullmailer is not configured immediately after
installation, log files will grow to enormous sizes.  (In just a few weeks, my
logs grew to well over 10GB and I ran out of disk space.)

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list