]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
google search plugin: use https for the search
authorSimon McVittie <smcv@debian.org>
Sun, 12 Oct 2014 16:57:14 +0000 (17:57 +0100)
committerSimon McVittie <smcv@debian.org>
Sun, 12 Oct 2014 16:57:31 +0000 (17:57 +0100)
doc/bugs/Google_search_plugin_not_passing_query_over_HTTPS_when_HTTPS_enabled.mdwn
templates/googleform.tmpl

index 3f8fbccc27cc1695edd54b9b23dd88c5bbdd039c..f3c4373f715fd2da945dd4c4b73c2cc2a596fb3e 100644 (file)
@@ -5,3 +5,7 @@ http://source.ikiwiki.branchable.com/?p=source.git;a=blob;f=templates/googleform
 to
 
     <form method="get" action="//www.google.com/search" id="searchform">
+
+> I changed it to use https unconditionally - there seems little point
+> in doing Google searches in clear-text when Google supports https,
+> even on unencrypted wikis. [[done]] --[[smcv]]
index 9468e062ab19a381f6dadb339480796efae827f5..b1c3078fb15df107c3f0a7fe1d70df9b66b2749e 100644 (file)
@@ -1,5 +1,5 @@
 
-<form method="get" action="http://www.google.com/search" id="searchform">
+<form method="get" action="https://www.google.com/search" id="searchform">
  <div>
   <input name="sitesearch" value="<TMPL_VAR URL>" type="hidden" />
   <input name="q" value="" id="searchbox" size="16" maxlength="255" type="text"