# hash tag truncated in URL in Call Number (shelf browse)

Bug #1467559 reported by Jim Keenan
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

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 dbwells:
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 Dan Wells for seeing this. (I'm just reporting it.)

Jim Keenan (jkeenan)
description: updated
Revision history for this message
Michele Morgan (mmorgan) wrote :

Confirmed this is still and issue in 3.6.

tags: added: browse opac
Changed in evergreen:
status: New → Confirmed
tags: added: opac-browse
removed: browse
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.