This looks like an exploitable bug: if you put a partially quoted string in the search box, you'll get a runtime error.
In searching for (contained in single-quotes to delineate in text): '
"village gate" print'
I got the following message:
Traceback (most recent call last):
File "/home/rocwiki/sycamore/Sycamore/request.py", line 739, in run
self.config.page_front_page).page_name, self)
File "/home/rocwiki/sycamore/Sycamore/wikiaction.py", line 167, in do_search
print_suggestion(this_search.spelling_suggestion(needle), request)
File "/home/rocwiki/sycamore/Sycamore/search.py", line 473, in spelling_suggestion
current_query_est_results)
File "/home/rocwiki/sycamore/Sycamore/search.py", line 447, in get_suggested_terms
this_word_corrected)
File "/home/rocwiki/sycamore/Sycamore/search.py", line 402, in _fill_in_corrected
flat_unstemmed_terms[i] != corrected_terms[i].lower()
IndexError: list index out of range
This is appeared the same when I tried '
"test 2" a', but '
"test 2"' works okay.