[Koha-bugs] [Bug 14716] opac-detail.pl -- Series link fails when series title ends with semicolon preceded by space.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Feb 22 15:12:24 CET 2018


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

Ere Maijala <ere.maijala at helsinki.fi> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff
                 CC|                            |ere.maijala at helsinki.fi

--- Comment #26 from Ere Maijala <ere.maijala at helsinki.fi> ---
I've attached a proposed fix for this. It uses the eslt str:encode-uri function
to encode the href parameters. It's already in use with the link tracking in
the OPAC templates. The patch contains changes for
MARC21slim2intranetDetail.xsl, MARC21slim2intranetResults.xsl and
MARC21slim2OPACDetail.xsl, but obviously this should be extended to any other
templates. I just didn't want to spend the effort before getting feedback.

The only downside I can find with encode-uri is that the second parameter is
required. If you find this too horrible, there's also the possibility of using
register_function on the perl side to make a perl-based version available. It
would allow even more control over the process.

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


More information about the Koha-bugs mailing list