#418: WebSearch: Incorrect parsing of user input
-----------------------+----------------------------------------------------
Reporter: ppraczyk | Owner:
Type: defect | Status: new
Priority: critical | Milestone:
Component: *general* | Version:
Keywords: |
-----------------------+----------------------------------------------------
following lines in search_engine.py look more than suspicious.
elif p.startswith("cocitedwith:"): #WAS EXPERIMENTAL
(...)
recID = p[12:]
For example in the case of having some logical operator after this,
Invenio crashes.
example:
http://inspirebeta.net/search?ln=en&p=cocitedwith%3A561945+and+doesnotwork&f=&action_search=Search&sf=&so=d&rm=&rg=25&sc=0&of=hb
RT 106598
--
Ticket URL: <http://invenio-software.org/ticket/418>
Invenio <http://invenio-software.org>