[Koha-bugs] [Bug 20218] Tracklinks fails when URL has special characters
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Feb 26 16:15:04 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20218
Claire Gravely <claire_gravely at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #71745|0 |1
is obsolete| |
--- Comment #5 from Claire Gravely <claire_gravely at hotmail.com> ---
Created attachment 72215
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=72215&action=edit
Bug 20218: Fix matching of uri in tracklinks
The current code matches using a regex, this breaks when the url
contains special characters. We swtich it to equality check
To test:
1 - Enable TrackClicks (either track or anonymous)
2 - Find the URL of a biblio in the OPAC
3 - Paste this into the 856$u of another record
(or use any url containing a '?' or other characters)
4 - View the record in the opac
5 - Click the URL
6 - 404 Error!
7 - Apply patch
8 - Try again
9 - Success!
Signed-off-by: Claire Gravely <claire.gravely at bsz-bw.de>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list