many special characters handled incorrectly in text searches

VERIFIED DUPLICATE of bug 2739

Status

Webtools
MXR
P3
normal
VERIFIED DUPLICATE of bug 2739
19 years ago
12 years ago

People

(Reporter: dmose, Assigned: Dawn Endico)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

19 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().
smfr cares too, I think.

Comment 2

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

Updated

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

Comment 3

19 years ago
this is a duplicate, and also fixed

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

Comment 4

18 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.