Bug #3017
closed
The Ampersand returns a blank page on searches
Added by Callie Bowdish almost 17 years ago.
Updated over 11 years ago.
Description
Searching on the KNB brings up a blank page when using the Ampersand (&) symbol. A search on a title such as,"Species & functional diversity"will bring up empty page.
Original Bugzilla ID was 3017
- Target version changed from Unspecified to 2.1.0
I do get a blank page on the KNB (v2.0.3) and can see this message in the log:
SystemId Unknown; Line #9; Column #1258; The entity name must immediately follow the '&' in the entity reference.
But locally (v2.0.6) I get search results even though there is an error in the log:
knb 20130409-17:00:59: [ERROR]: QuerySpecification() - SAX error parsing data: The entity name must immediately follow the '&' in the entity reference. [edu.ucsb.nceas.metacat.QuerySpecification]
Bottom line seems to be we need to fix the pathquery that gets generated (by skins) so that it is valid XML.
- Status changed from New to Closed
- Assignee changed from Jing Tao to ben leinfelder
This is in trunk now, though it is not applicable for solr queries. (I'm sure there are other character escaping issues to deal with as we work more with that query engine)
Also available in: Atom
PDF