Item12166: searching for '*' causes WebSearch to crash
Priority: Urgent
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Engine
Component: SEARCH
Branches: Release01x01 trunk
http://foswiki.org/About/WebSearch?search=*&scope=all&web=Home%2CAbout%2CSystem%2CExtensions%2CSupport%2CCommunity%2CDevelopment%2CDownload%2CTasks%2CMain
basically, I just entered * into the topbar search box.
--
SvenDowideit - 18 Oct 2012
I just tried this on foswiki.org, no crash. worked fine. The display was corrupted a bit I think due to a task summary that added some html.
What was the crash? If it was a 500, could it possibly be because the fcgi search ran too long and timed out the fcgi process.
--
GeorgeClark - 22 Oct 2012
When I click on that link, I get a
WebSearch page with only
Could not perform search. Error was: Quantifier follows nothing in regex; marked by <-- HERE in m/(\b.{0,30}\b)\b((?i:* <-- HERE ))\b(\b.{0,30}\b)/
which internally is a crash - the browser output is our boilerplate, but that is busted.
I have a test and a fix for this, but i need to play with it some more
--
SvenDowideit - 05 Nov 2012