[Koha-bugs] [Bug 20218] New: Tracklinks fails when URL has special characters
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 15 19:52:54 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20218
Bug ID: 20218
Summary: Tracklinks fails when URL has special characters
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: nick at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
To recreate:
1 - Copy the url of a biblio in the opac
2 - Paste this into the 856$u ofd another record
3 - Enable anonymous link tracking
4 - View the second record in the opac
5 - Click the link
6 - Get a 404 error
It seems on this line:
if ( grep { /^$uri$/ } map { $_->{MARCURL} } @$marc_urls ) {
The regex is reading the '?' in the uri as a special character and so the uri
is not matched
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list