Actions
Bug #6435
closedSolr queries with certain URL-encoded characters are decoded twice
Start date:
02/28/2014
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
Description
The one character I know is a problem is + (%2B). When %2B is sent in a Solr query, Metacat seems to decode it twice - so that the second time it is decoded, it is interpreted as a space character, causing a Solr syntax error. The MetacatSolrIndex class decodes the query string after D1Httprequest has already decoded it.
Example query is:
Updated by ben leinfelder almost 11 years ago
- Status changed from New to Closed
Added special case for "+" so that when we use the SOLRJ parser it does not encode the intended "+" into a space.
Actions