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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/