Bugzilla – Attachment 11879 Details for
Bug 8702
System preferences search does not allow accented letters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
Bug-8702-System-preferences-search-does-not-allow-ac.patch (text/plain), 765 bytes, created by
Fridolin Somers
on 2012-08-29 14:52:23 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2012-08-29 14:52:23 UTC
Size:
765 bytes
patch
obsolete
>From 7c9b6687a6449d850769462771800e154a91b8e1 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@biblibre.com> >Date: Wed, 29 Aug 2012 16:50:18 +0200 >Subject: [PATCH] Bug 8702: System preferences search does not allow accented > letters > >--- > admin/preferences.pl | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/admin/preferences.pl b/admin/preferences.pl >index b1ad005..79ab478 100755 >--- a/admin/preferences.pl >+++ b/admin/preferences.pl >@@ -297,7 +297,8 @@ my @TABS; > if ( $op eq 'search' ) { > my $searchfield = $input->param( 'searchfield' ); > >- $searchfield =~ s/[^a-zA-Z0-9_ -]//g; >+ $searchfield =~ s/^\s+//; >+ $searchfield =~ s/\s+$//; > > $template->param( searchfield => $searchfield ); > >-- >1.7.9.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 8702
:
11879
|
11923
|
12311
|
12324