Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#71 Cannot search for quote characters

closed-works-for-me
nobody
None
5
2009-03-26
2003-03-01
Jon Foster
No

Hi,

I was trying to do a freetext search on lxr.linux.no
for the string "0" - the quote characters are part of
the search. Clicking search takes me to this URL:
http://lxr.linux.no/search?string=%220%22

Which just displays:
Abort!
** Aborting: Illegal characters in HTTP-parameters.

It seems perfectly reasonable to me to want to search
for a C quoted string in a C program.

Similarly, searching for '0' (including the single
quotes) takes me to this URL:
http://lxr.linux.no/search?string=%270%27
Which has the same error message.

I suspect that this is an anti-script-kiddie feature
(if you are passing strings on the command line and
want to prevent quoting attacks like the recent KDE
3.0.4 hole), so maybe this is a RFE (check everything
is quote-safe then disable the anti-script-kiddie
feature) rather than a bug.

Kind regards,

Jon Foster.

Discussion

  • Malcolm Box
    Malcolm Box
    2009-03-26

    • status: open --> open-works-for-me
     
  • Malcolm Box
    Malcolm Box
    2009-03-26

    Searching for '0' or "0" now work for me.

     
  • Malcolm Box
    Malcolm Box
    2009-03-26

    • status: open-works-for-me --> closed-works-for-me