many special characters handled incorrectly in text searches

VERIFIED DUPLICATE of bug 2739

Status

P3
normal
VERIFIED DUPLICATE of bug 2739
20 years ago
13 years ago

People

(Reporter: dmose, Assigned: endico)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

20 years ago
Including a space character in a search doesn't work because it is URL-encoded
as a +, and support for that has been commented out in
lib/LXR/Common.pm:http_wash{}

Including any of <>|\"\'\` in a search fails because of security code in
http_wash{} that is attempting to clean anything that might be passed to open().

The right fix is probably to either parameterize http_wash{}, or split it up
into two routines: one that cleans for stuff passed to open(), and one that
cleans (presumably much less strictly) for stuff passed to the glimpse binary by
exec().

Comment 2

20 years ago
I care so much that I filed duplicate bug 13056.
(Assignee)

Updated

20 years ago
Status: NEW → RESOLVED
Last Resolved: 20 years ago
Resolution: --- → DUPLICATE
(Assignee)

Comment 3

20 years ago
this is a duplicate, and also fixed

*** This bug has been marked as a duplicate of 2739 ***

Comment 4

19 years ago
VERIFY dupe, to clean up a little bit
Status: RESOLVED → VERIFIED
QA Contact: lxr
You need to log in before you can comment on or make changes to this bug.