Summary: | Useless use of '\'; doesn't escape metacharacter '(' | ||
---|---|---|---|
Product: | Koha | Reporter: | Jared Camins-Esakov <jcamins> |
Component: | Architecture, internals, and plumbing | Assignee: | Galen Charlton <gmcharlt> |
Status: | RESOLVED DUPLICATE | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P3 | CC: | jonathan.druart, mmoreno, veron |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Jared Camins-Esakov
2014-06-04 18:03:01 UTC
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.) |