[Koha-bugs] [Bug 17103] Google API Loader jsapi called over http

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Aug 13 02:29:39 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17103

Indranil Das Gupta <indradg at l2c2.co.in> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #54321|0                           |1
        is obsolete|                            |

--- Comment #3 from Indranil Das Gupta <indradg at l2c2.co.in> ---
Created attachment 54417
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=54417&action=edit
Bug 17103 - Google API Loader jsapi called over http

This patch removes the hardcoded protocol ("http") from the URI,
leaving the browser to negotiate the correct http/https context.
Prevents MIXED CONTENT failure, allowing GoogleIndicTransliteration
to function correctly when used in SSLized OPACs.

Test plan
---------

1/ Make sure your OPAC is being served both over HTTP and HTTPS
2/ Set GoogleIndicTransliteration syspref to "Show"
3/ Access the OPAC over http, Google transliteration element will
   show up in masthead searchbox.
4/ Access the OPAC over https. The element will not show. Console
   will show MIXED CONTENT error and failure of google loader.
5/ Apply patch. Repeat steps #3 and #4 again. Now in both cases
   GoogleIndicTransliteration will work.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list