[Koha-bugs] [Bug 23337] New: Links without the protocol in the 856$u fail when using TrackClicks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 18 13:15:55 CEST 2019


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

            Bug ID: 23337
           Summary: Links without the protocol in the 856$u fail when
                    using TrackClicks
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: OPAC
          Assignee: oleonard at myacpl.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

GetMarcUrls returns full URIs with the protocol included, however, 856 allows
for values with protocol specified by indicators or in another field

This causes the links not to match and redirection is bocked by tracklinks.pl
which checks for equality

To recreate:
1 - Set TrackClicks to 'Track anonymously'
2 - Edit a record
3 - Edit 856: 
      Set first indicator: 4
      Set $u: www.google.com
4 - Set a second 856
      Set first indicator: 1
      Set $u: speedtest.tele2.net
5 - Open record in opac
6 - Both links lead to 404

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


More information about the Koha-bugs mailing list