[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
Fri Feb 16 13:49:28 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20218

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 71745
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=71745&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!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list