Item10618: TwistyPlugin crashes Foswiki when topic has a trailing )

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.3
Target Release: patch
Applies To: Extension
Component: TwistyPlugin
Branches:
Reported By: AndrewJones
Waiting For:
Last Change By: KennethLavrsen
From Kenneth in Item10617:

Any topic you look up in 1.1 with a trailing ) makes Foswiki code crash with a regex error that seems to come from the TwistyPlugin.

-- KennethLavrsen - 09 Apr 2011

-- AndrewJones - 09 Apr 2011

Seems like easy fix = protect the cookie key with \Q \E so that any special characters are treated literally in the regex. ... committing a fix.

-- GeorgeClark - 09 Apr 2011

Added a note to TwistyPlugin changelog, but did not increment version/release and release the extension.

-- GeorgeClark - 10 Apr 2011
 
Topic revision: r10 - 16 Apr 2011, KennethLavrsen
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