• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5539: Sandbox incorrectly escapes " on Windows

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent No Action Required   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

A query search on Windows fails because the hoisted RE generated by TWiki::Query::HoistRE contains double quotes, and these are not correctly escaped when the grep command line is generated on Windows. Testcase:
%SEARCH{"Status='Closed'" type="query"}% 

This is urgent for Windows servers.

-- TWiki:Main/CrawfordCurrie - 14 Apr 2008

I'll try to reproduce this bug using the provided Windows installer for 4.2.0...

-- TWiki:Main.MarkusUeberall - 28 Apr 2008

It seems that I'm either unable to reproduce this or I misunderstood your problem description.

Using the forementioned WIndows installer, I created a test topic containing %SEARCH{"Country='Germany'" type="query"}% which was translated into ^%META:FIELD{name="Country".*\bvalue="Germany" for the call to egrep, but the result was the same as on my linux box.

(I do see a different output for %SEARCH{\"Country='Germany'\" type="query"}%, though, but then I'm not sure whether this is supposed to work at all.)

-- TWiki:Main.MarkusUeberall - 12 May 2008

Now i can't reproduce this either. PEBKAC.

-- CrawfordCurrie - 12 May 2008

ItemTemplate
Summary Sandbox incorrectly escapes " on Windows
ReportedBy TWiki:Main.CrawfordCurrie
Codebase

SVN Range TWiki-5.0.0, Sun, 13 Apr 2008, build 16659
AppliesTo Engine
Component

Priority Urgent
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-05-12 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback