Item1075: SEARCH summary wrong when text contains /

pencil
Priority: Normal
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: KennethLavrsen
given some text with a slash, such as Some One/WIKI.NET in October 2008...

%SEARCH{
   "1"
   type="query"
   topic="%TOPIC%"
   format="$summary"
}%

it seems that the One/WIKI is removed by the plainTextification.

(found using search http://foswiki.org/Home/WebSearch?search=add%20group&scope=all&web=Home%2CAbout%2CSystem%2CExtensions%2CSupport%2CCommunity%2CDevelopment%2CDownload%2CMain)

Searched: 1
given some text with a slash, such as Some One/WIKI.NET in October 2008... %SEARCH{ "1" type="query" topic="Item1075" format="$summary" }% it seems th...
Number of topics: 1

I made a whoopsie on the first checking for this, and checked in a bunch of other stuff to do with checking taints. I reverted the bits that are not, and the rest should stand. Only the changes to Render.pm directly relate to the problem described herein.

-- CrawfordCurrie - 05 Jun 2010

deserves a unit test - niceun smile

-- SvenDowideit - 05 Jun 2010

ItemTemplate edit

Summary SEARCH summary wrong when text contains /
ReportedBy SvenDowideit
Codebase 1.0.9, trunk
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:febd0012d184 distro:59d048b1675a distro:fe21044ab1d1
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r9 - 04 Oct 2010, 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