cross
New Foswiki release 2.1.6 is available with important security fixes.
Sourceforge foswiki email lists being discontinued. Subscribe to the new Foswiki announce and discuss lists at MailingLists
You are here: Foswiki>Tasks Web>Item12166 (02 Dec 2012, GeorgeClark)Edit Attach

Item12166: searching for '*' causes WebSearch to crash

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.6
Target Release: patch
Applies To: Engine
Component: SEARCH
Branches: Release01x01 trunk
Reported By: SvenDowideit
Waiting For:
Last Change By: GeorgeClark
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
 
Topic revision: r9 - 02 Dec 2012, GeorgeClark - This page was cached on 22 Jun 2018 - 05:23.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy