google search plugin: use https for the search

master
Simon McVittie 2014-10-12 17:57:14 +01:00
parent 4854473690
commit 08fd2e0806
2 changed files with 5 additions and 1 deletions

View 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]]

View 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"