Bugzilla – Attachment 7511 Details for
Bug 6713
marc import not matching
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Followup proposed.
0001-Bug-6713-Followup-Sanitizing input.patch (text/plain), 759 bytes, created by
laurenthdl
on 2012-02-08 17:27:19 UTC
(
hide
)
Description:
Followup proposed.
Filename:
MIME Type:
Creator:
laurenthdl
Created:
2012-02-08 17:27:19 UTC
Size:
759 bytes
patch
obsolete
>From 85ddb16a3cee378b066df22396faed98c5f93d3d Mon Sep 17 00:00:00 2001 >From: BibLibre <dev_patches@biblibre.com> >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 >
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 6713
:
4975
|
5791
|
6321
|
7510
| 7511