summaryrefslogtreecommitdiff
path: root/web-ui/app
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-03-02 11:57:05 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-03-09 15:36:10 +0100
commit2b41494b1472049cc056959cb093411c96370145 (patch)
tree53a9c5b477280d54e6251532c44c71c7ad034c1e /web-ui/app
parent1ae14c78bcf79db82d492f9b9a9ae186433ac8fc (diff)
Issue #617: Restrict searching to alphanumeric characters
Diffstat (limited to 'web-ui/app')
-rw-r--r--web-ui/app/templates/search/search_trigger.hbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/templates/search/search_trigger.hbs b/web-ui/app/templates/search/search_trigger.hbs
index 2261d154..376dd04c 100644
--- a/web-ui/app/templates/search/search_trigger.hbs
+++ b/web-ui/app/templates/search/search_trigger.hbs
@@ -1,3 +1,3 @@
<form>
- <input type="search" placeholder="{{t 'search-placeholder'}}"></input>
+ <input type="search" pattern="[a-zA-Z0-9\s]*" placeholder="{{t 'search-placeholder'}}"></input>
</form>