Bug 14318

Summary: iDreamBooks doesn't work when Koha is using https
Product: Koha Reporter: Kyle M Hall <kyle>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: katrin.fischer, tmisilo, tomascohen
Version: Main   
Hardware: All   
OS: All   
See Also: http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14345
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Bug Depends on:    
Bug Blocks: 14345    
Attachments: Bug 14318 - iDreamBooks doesn't work when Koha is using https
Bug 14318 - iDreamBooks doesn't work when Koha is using https
[PASSED QA] Bug 14318 - iDreamBooks doesn't work when Koha is using https

Description Kyle M Hall 2015-06-02 17:05:09 UTC
If a Koha server is configured to run over SSL, all iDreamBooks content is blocked due to the fact that a secure page is requesting an insecure endpoint. This is due to the fact that the urls for iDreamBooks use http and not https. A simple fix would be to switch them to https since browsers have to qualms about loading a secure data endpoint from an insecure one.
Comment 1 Tomás Cohen Arazi 2015-06-02 20:22:34 UTC
Does iDreamBooks provide a HTTPS service too?
Comment 2 Tom Misilo 2015-06-03 00:38:50 UTC
This is an example from their site using SSL.

https://idreambooks.com/api/books/show_features.xml?q=9780385349949&key=example_key
Comment 3 Kyle M Hall 2015-06-04 11:14:19 UTC Comment hidden (obsolete)
Comment 4 Mark Tompsett 2015-06-05 15:57:51 UTC Comment hidden (obsolete)
Comment 5 Katrin Fischer 2015-06-06 17:23:57 UTC
Created attachment 39946 [details] [review]
[PASSED QA] Bug 14318 - iDreamBooks doesn't work when Koha is using https

If a Koha server is configured to run over SSL, all iDreamBooks content
is blocked due to the fact that a secure page is requesting an insecure
endpoint. This is due to the fact that the urls for iDreamBooks use http
and not https. A simple fix would be to switch them to https since
browsers have to qualms about loading a secure data endpoint from an
insecure one.

Test Plan:
1) Enable iDreamBooks
2) Set up your OPAC to use https
3) Verify iDreamBooks content continues to work

Note: tested Chrome and IE, so that the IE change would be validated.
      Discovered isbn semi-colon issue that is beyond scope of this bug.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 6 Tomás Cohen Arazi 2015-06-07 22:03:01 UTC
Patch pushed to master.

Thanks Kyle!