summaryrefslogtreecommitdiffstats
path: root/scripts/git-integration/git-auth.sh
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-05-22 13:29:59 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-05-22 17:09:25 +0200
commit0f48341ed67624f8bf113737eac0ba5b989133b3 (patch)
treed9ab7053035503f9b38b5e64ddec00f45a207dbc /scripts/git-integration/git-auth.sh
parent20b838a90c5874c11cb68d3ca0bf7cc3bf3c0180 (diff)
downloadaurweb-0f48341ed67624f8bf113737eac0ba5b989133b3.tar.xz
Do not allow more than 20 terms in search queries
Specifying a huge number of search terms currently results in complex SQL queries. In practice, queries with more than 20 terms are rarely needed. Ignore everything apart from the first 20 keywords to prevent from potential abuse. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'scripts/git-integration/git-auth.sh')
0 files changed, 0 insertions, 0 deletions