aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/user_controller_spec.rb
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-19 12:34:10 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-19 12:34:10 +0000
commit64381d5786c883a41fad3b099a3059e97f96445e (patch)
tree4da15c72030dcfa19081532a87e2922ae6604f7e /spec/controllers/user_controller_spec.rb
parent8f03bff23b7c343a726ac7082fbc54dc80dc478e (diff)
Disable Xapian wildcards
Do not use FLAG_WILDCARD or FLAG_PARTIAL anywhere, because wildcard searches can crash the whole server as per http://trac.xapian.org/ticket/350 (e.g. http://www.whatdotheyknow.com/body/search_ahead?query=app will crash the server prior to this commit.) This is a temporary fix while we investigate the possibilities of the set_max_wildcard_expansion() method, which should make it possible to alleviate this issue.
Diffstat (limited to 'spec/controllers/user_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions