2015-06-22 14:56:06 |
Jim Keenan |
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 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.) |
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.) |
|