Bug 13790 - Search munges search keywords
Summary: Search munges search keywords
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Web Site
Classification: Red Hat
Component: WideOpen
Version: current
Hardware: All
OS: Linux
high
medium
Target Milestone: ---
Assignee: Randy J. Ray
QA Contact: Paul Lindner
URL:
Whiteboard:
: 13791 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-07-12 14:19 UTC by Steve Coile
Modified: 2007-03-27 03:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-07-17 17:32:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.