diff options
author | Simon McVittie <smcv@debian.org> | 2014-10-12 17:57:14 +0100 |
---|---|---|
committer | Simon McVittie <smcv@debian.org> | 2014-10-12 17:57:31 +0100 |
commit | 08fd2e0806076803a354cd2ce167ba6f875358d5 (patch) | |
tree | e942a658761e53cebe37b36a23608b3769fa26eb | |
parent | 4854473690e2e36a1225a58871fb4630b4562db9 (diff) | |
download | ikiwiki-08fd2e0806076803a354cd2ce167ba6f875358d5.tar ikiwiki-08fd2e0806076803a354cd2ce167ba6f875358d5.tar.gz |
google search plugin: use https for the search
-rw-r--r-- | doc/bugs/Google_search_plugin_not_passing_query_over_HTTPS_when_HTTPS_enabled.mdwn | 4 | ||||
-rw-r--r-- | templates/googleform.tmpl | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/bugs/Google_search_plugin_not_passing_query_over_HTTPS_when_HTTPS_enabled.mdwn b/doc/bugs/Google_search_plugin_not_passing_query_over_HTTPS_when_HTTPS_enabled.mdwn index 3f8fbccc2..f3c4373f7 100644 --- a/doc/bugs/Google_search_plugin_not_passing_query_over_HTTPS_when_HTTPS_enabled.mdwn +++ b/doc/bugs/Google_search_plugin_not_passing_query_over_HTTPS_when_HTTPS_enabled.mdwn @@ -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]] diff --git a/templates/googleform.tmpl b/templates/googleform.tmpl index 9468e062a..b1c3078fb 100644 --- a/templates/googleform.tmpl +++ b/templates/googleform.tmpl @@ -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" |