[Bug 12172] New: Remote XSLT style sheets fail to fetch under https under recent LWP::Simple
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12172 Bug ID: 12172 Summary: Remote XSLT style sheets fail to fetch under https under recent LWP::Simple Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: gmcharlt@gmail.com Reporter: martin.renvoize@ptfs-europe.com QA Contact: testopia@bugs.koha-community.org Recent versions of LWP::Simple enable 'verify_hostname' by default. This breaks https get requests in a nasty way such that any page relying upon the stylesheet results in a nasty perl error. We should be using LWP::UserAgent and setting this ignorance explicitly, or even better, setting a 'Certificate Authority' path to enable proper hostname verification. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12172 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |minor -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12172 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12172 --- Comment #1 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 27899 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=27899&action=edit Bug 12172: Use LWP::UserAgent for remote XSLT fetch This patch re-enables proper handling of https hosted remote xslt style sheets with recent releases of LWP (libwww-perl-5.837 and prior do not need this patch). -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12172 --- Comment #2 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Initial patch cleans up code a little, and swaps from LWP::Simple to LWP::UserAgent to allow for explicit declaration of ssl options. It then disables verify_hostname to do the 'get'. I could not, in my testing come up with a reasonable solution to set CA Certificate path to use with the module. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12172 --- Comment #3 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- This may not be required given bug 11826. Just testing that it works OK in there. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12172 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.koha-community. | |org/bugzilla3/show_bug.cgi? | |id=11826 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12172 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |RESOLVED Resolution|--- |DUPLICATE --- Comment #4 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Fixed as a side effect of bug 11826 *** This bug has been marked as a duplicate of bug 11826 *** -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12172 M. de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl --- Comment #5 from M. de Rooy <m.de.rooy@rijksmuseum.nl> --- Martin, I will probably reuse a little bit of your code here in bug 12758. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org