From 90b4c1fe665fa251dd060a62dcc62af9f96da64a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 1 Mar 2016 12:13:22 +0000 Subject: [PATCH] Bug 14441: TrackClicks cuts off/breaks URLs (XSLT) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Same test plan as previous patch, but for opac defail and result using the XSLT views. Signed-off-by: Katrin Fischer I am amazed! Signed-off-by: Brendan A Gallagher (cherry picked from commit ee0abde76e78713233a9fcd31fbb6f80b5a9610c) Signed-off-by: Julian Maurice (cherry picked from commit 97de8be7046833a3a1e6ced3e3d512c89ca8cb85) Signed-off-by: Frédéric Demians --- .../bootstrap/en/xslt/MARC21slim2OPACDetail.xsl | 5 +++-- .../bootstrap/en/xslt/MARC21slim2OPACResults.xsl | 9 +++++---- .../bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl | 5 +++-- .../bootstrap/en/xslt/NORMARCslim2OPACResults.xsl | 5 +++-- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl index 1a9be6b9de..50fe4b9f84 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACDetail.xsl @@ -6,6 +6,7 @@ xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:items="http://www.koha-community.org/items" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:str="http://exslt.org/strings" exclude-result-prefixes="marc items"> @@ -692,10 +693,10 @@ - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl index 167f46d341..6e34fb04cc 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slim2OPACResults.xsl @@ -5,6 +5,7 @@ xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:items="http://www.koha-community.org/items" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:str="http://exslt.org/strings" exclude-result-prefixes="marc items"> @@ -999,10 +1000,10 @@ - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= @@ -1034,10 +1035,10 @@ - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl index 4d1785b919..1f1e26c8dd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACDetail.xsl @@ -7,6 +7,7 @@ xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:items="http://www.koha-community.org/items" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:str="http://exslt.org/strings" exclude-result-prefixes="marc items"> @@ -488,10 +489,10 @@ - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACResults.xsl index 163b3aa168..3cdcd0e4a1 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/NORMARCslim2OPACResults.xsl @@ -7,6 +7,7 @@ xmlns:marc="http://www.loc.gov/MARC21/slim" xmlns:items="http://www.koha-community.org/items" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:str="http://exslt.org/strings" exclude-result-prefixes="marc items"> @@ -793,10 +794,10 @@ - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= - /cgi-bin/koha/tracklinks.pl?uri=;biblionumber= + /cgi-bin/koha/tracklinks.pl?uri=&biblionumber= -- 2.39.5