[Koha-bugs] [Bug 21251] New: tracklinks.pl doesn't work with URLs containing ampersands
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Aug 21 02:49:12 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21251
Bug ID: 21251
Summary: tracklinks.pl doesn't work with URLs containing
ampersands
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: alexbuckley at catalyst.net.nz
QA Contact: testopia at bugs.koha-community.org
When the $uri variable is set from accessing the cgi->param('uri') value
retrieved from the URL in tracklinks.pl if the uri to be redirected to contains
a ampersand the ampersand and any content after it is ignored and not assigned
to the $uri value.
This is because when values are passed via the URL the ampersand is the
delimiter between the variables and so any values after the ampersand are not
considered to belong to uri.
This results in a 404 error being displayed when track clicks is enabled and
the URL in the biblio's 856$u contains an ampersand.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list