Bugzilla – Attachment 47544 Details for
Bug 14523
Google jackets being blocked when OPAC using HTTPS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14523 - Google jackets being blocked when OPAC using HTTPS
Bug-14523---Google-jackets-being-blocked-when-OPAC.patch (text/plain), 2.04 KB, created by
Jonathan Druart
on 2016-02-02 10:31:33 UTC
(
hide
)
Description:
Bug 14523 - Google jackets being blocked when OPAC using HTTPS
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-02-02 10:31:33 UTC
Size:
2.04 KB
patch
obsolete
>From 1230fd83015fc3cc9b2a6af716dab473b2c5b39c Mon Sep 17 00:00:00 2001 >From: Barry Cannon <barry.cannon@interleaf.ie> >Date: Tue, 14 Jul 2015 12:25:55 +0100 >Subject: [PATCH] Bug 14523 - Google jackets being blocked when OPAC using > HTTPS >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >This patch changes the Google jackets URL to use HTTPS instead of HTTP. > >Test Plan: >1) Enable Google Jackets >2) Ensure the Koha OPAC instance is configued to use HTTPS >3) Confirm Google jackets display correctly. > >Signed-off-by: Frédéric Demians <f.demians@tamil.fr> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js b/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js >index b23599f..bede2d7 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js >+++ b/koha-tmpl/opac-tmpl/bootstrap/js/google-jackets.js >@@ -27,7 +27,7 @@ KOHA.Google = { > this.openInNewWindow=newWindow; > scriptElement.setAttribute("id", "jsonScript"); > scriptElement.setAttribute("src", >- "http://books.google.com/books?bibkeys=" + escape(bibkeys) + >+ "https://books.google.com/books?bibkeys=" + escape(bibkeys) + > "&jscmd=viewapi&callback=KOHA.Google.gbsCallBack"); > scriptElement.setAttribute("type", "text/javascript"); > document.documentElement.firstChild.appendChild(scriptElement); >@@ -59,7 +59,7 @@ KOHA.Google = { > '<a '+target+'href="' + > book.info_url + > '"><img src="' + >- 'http://books.google.com/intl/en/googlebooks/images/gbs_preview_sticker1.gif' + >+ 'https://books.google.com/intl/en/googlebooks/images/gbs_preview_sticker1.gif' + > '"></a></div>' > ); > } >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14523
:
40988
|
47385
|
47500
|
47501
|
47511
| 47544