Skip to content

Commit

Permalink
#1294 Sanitze query string in search bar
Browse files Browse the repository at this point in the history
  • Loading branch information
trang committed Aug 28, 2016
1 parent 530de4c commit 7fe456b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/elements/search_bar.ctp
Expand Up @@ -76,7 +76,7 @@ echo $form->create(
<input id="SentenceQuery"
type="text"
name="query"
value="<?= $searchQuery ?>"
value="<?= Sanitize::html($searchQuery) ?>"
accesskey="4"
lang=""
dir="auto"
Expand Down
Empty file.

0 comments on commit 7fe456b

Please sign in to comment.