mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-25 13:33:51 -04:00
make search on 404 page secure
This commit is contained in:
parent
c930fe41b2
commit
2b837827ae
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
<div class="span10" style='padding-top: 20px'>
|
||||
<h2><%= t 'page_not_found.search_title' %></h2>
|
||||
<p>
|
||||
<form action='http://google.com' id='google-search' onsubmit="return google_button_clicked()">
|
||||
<form action='https://google.com' id='google-search' onsubmit="return google_button_clicked()">
|
||||
<input type="text" id='user-query' value="<%= @slug %>">
|
||||
<input type='hidden' id='google-query' name="q">
|
||||
<button class="btn btn-primary"><%= t 'page_not_found.search_google' %></button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue