Comment 0 for bug 1467559

Revision history for this message
Jim Keenan (jkeenan) wrote :

EG 2.7.4

Advanced Search > Numeric Search > Call Number (shelf browse)
If a Call Number contains a # (hash tag), the # is not URL encoded, effectively truncating the variable.

Example search: Book Bag #6

http://catalog.cwmars.org/eg/opac/cnbrowse?cn=Book%20Bag%20#6&locg=1

If you manually encode the URL, the search works fine (produces the result an end user would expect).

 krvmga: http://catalog.cwmars.org/eg/opac/cnbrowse?cn=Book%20Bag%20%236&locg=1

IRC quote: from csharp:
krvmga: I think the problem you are seeing with "#" in call numbers is not with the DB/normalization side, but simply an issue with the "#" not getting URL encoded. Since "#" is special in a URL, the variable effectively gets truncated. That looks like a bug to me. You can also see it work fine if you manually encode the "#":

Thanks to Chris Sharp for seeing this. (I'm just reporting it.)