Bug 12758: Add new module call in Koha::XSLT::Base
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 24 Sep 2014 15:01:00 +0000 (17:01 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 9 Nov 2022 12:52:25 +0000 (09:52 -0300)
commit9ec1fb4fd91cc64cf4207da1a964037076d3d512
treec1d7f2952e36495e802d64f3b369610844159f6f
parent2d2e93e66ef73bc3424c85a6256c10026eca3a4c
Bug 12758: Add new module call in Koha::XSLT::Base

Reviving a report back from 2014. The workaround is now moved to a
separate helper module from another patch.

Test plan:
Test OPACXSLTDetailsDisplay with an https reference.
You may try:
https://library.rijksmuseum.nl/opac-tmpl/bootstrap/en/xslt/zztest.xsl

If you flush and restart, the opac detail pages will contain the
text 'This is my MARC record.'.

NOTE: If you point to an xslt file over https that contains includes or
imports, you will still get the error: Failed to load external entity.
To address that, we need to extend the _resolve_includes sub.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/XSLT/Base.pm