From 85ddb16a3cee378b066df22396faed98c5f93d3d Mon Sep 17 00:00:00 2001 From: BibLibre Date: Wed, 8 Feb 2012 15:10:12 +0100 Subject: Bug 6713 Followup : More sanitizing on strings in C4::Matcher Sanitizing strings in order to remove ! and ? --- C4/Matcher.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Matcher.pm b/C4/Matcher.pm index 9d1df67..77bf82a 100644 --- a/C4/Matcher.pm +++ b/C4/Matcher.pm @@ -758,7 +758,7 @@ sub _parse_match_component { # FIXME - default normalizer sub _normalize { my $value = uc shift; - $value =~ s/[.;:,\]\[\)\(\/'"]//g; + $value =~ s/[\!\?.;:,\]\[\)\(\/'"]//g; $value =~ s/^\s+//; #$value =~ s/^\s+$//; $value =~ s/\s+$//; -- 1.7.2.5