Opened 9 years ago

#788 new defect

Quoting a query in the Aggregator interface causes query parsing errors on the endpoints

Reported by: Jörg Knappen Owned by: emanuel.dima@uni-tuebingen.de
Priority: major Milestone:
Component: SRUAggregator Version:
Keywords: Cc:

Description

Entering the example query

"ist das denn"

into the aggregator interface at http://weblicht.sfs.uni-tuebingen.de/Aggregator/ causes errors on the endpoints. Inspecting the query log shows that the the search string is quoted twice:

130.183.206.38 - - [27/Aug/2015:11:46:28 +0200] "GET /sru/?operation=searchRetrieve&version=1.2&query=%22ist+das+denn%22&startRecord=1&maximumRecords=10&recordSchema=http%3A%2F%2Fclarin.eu%2Ffcs%2F1.0&x-cmd-context=hdl%3A11858%2F00-246C-0000-0008-5F2A-0 HTTP/1.1" 200 721

Since quoting search strings is a standard input method on popular search engines (like google or duckduckgo) the aggregator should detect it and avoid adding another pair of outer quotes.

Change History (0)

Note: See TracTickets for help on using tickets.