[Koha-bugs] [Bug 23527] New: BakerTaylorBookstoreURL is converted to escaped characters by template, rendering it invalid
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Sep 1 00:38:58 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23527
Bug ID: 23527
Summary: BakerTaylorBookstoreURL is converted to escaped
characters by template, rendering it invalid
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: trivial
Priority: P5 - low
Component: OPAC
Assignee: oleonard at myacpl.org
Reporter: techservspec at gmail.com
QA Contact: testopia at bugs.koha-community.org
The url stored in the preference BakerTaylorBookstoreURL is rendered in
opac-detail.tt with escaped characters (including the "/", "?" and "="
characters which are designating subdirectories and parameters), thus making
the resulting link invalid.
For example:
The URL used for BakerTaylorBookstoreURL is
https://contentcafe2.btol.com/ContentCafeClient/ContentCafe.aspx?UserID=
However, what is rendered in the OPAC is
https://contentcafe2.btol.com%2FContentCafeClient%2FContentCafe.aspx%3FUserID%3D
To test this (requires a Baker & Taylor username and id):
1. Enter
contentcafe2.btol.com/ContentCafeClient/ContentCafe.aspx?UserID=(your
username)&Password=(your password)&ItemKey=
into the BakerTaylorBookstoreURL preference and enable Baker & Taylor images.
2. Display a record that has a cover image in the OPAC.
3. Click on the image. You are not redirected to the above url (in firefox
nothing happens, in chrome you are directed to "about:blank#blocked").
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list