Bug 13790

Summary: Search munges search keywords
Product: Red Hat Web Site Reporter: Steve Coile <scoile>
Component: WideOpenAssignee: Randy J. Ray <rjray>
Status: CLOSED CURRENTRELEASE QA Contact: Paul Lindner <plindner>
Severity: medium Docs Contact:
Priority: high    
Version: current   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-07-17 17:32:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Steve Coile 2000-07-12 14:19:08 UTC
Search form inserts spaces into keywords, rendering searches invalid. 
Under conditions I can't quite pin-down, the search feature on the public
site will separate the last character of a keyword from the remainder of
the word by a space, rendering the term meaningless.  This appears to
happen only when multiple keywords are supplied.  For instance, try
performing a search for "ibm suse".  Note that the results reflect a search
for "ib m sus e".

Comment 1 Paul Lindner 2000-07-17 17:31:41 UTC
Looks like a bug in Text::Balanced, test case:

perl -MText::Balanced -e '$s = ("ibm suse" =~ /^(.*)/)[0]; @words =
Text::Balanced::extract_multiple($s); print join(",",@words)' ;

outputs:

ib,m sus,e

ugh....


Comment 2 Paul Lindner 2000-07-17 17:32:51 UTC
*** Bug 13791 has been marked as a duplicate of this bug. ***

Comment 3 Randy J. Ray 2000-08-05 01:47:03 UTC
This is fixed.