• 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.

Item4068: Colons in links are not removed when the link is used to create a new topic

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine edit Normal 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

When a user makes a link with a colon and then tries to create the page from the question mark next to the link, you get the following error on saving the page:

Error saving topic
During save of Sandbox.TestLinkWith:Colon an error was found by the version control system. Please notify your TWiki administrator.

=/usr/bin/rcs -i -t-none -ko %FILENAME|F% of /twiki/data/Sandbox/TestLinkWith:Colon.txt failed: =

Go back in your browser and save your changes locally. 

Example link: [[Trash.BugsLinkWith:Colon]] produces LinkWith:Colon, which exhibits the problem on my system. It has the following setup:

  • Windows XP Professional
  • Apache 2.2.4 (Win32)
  • Cygwin Perl 5.8.7

I am fairly sure this is a problem due to the colon being an invalid filename character in Windows, because it seems to work here (as the link above shows).

-- TWiki:Main/RobHill - 15 May 2007

Note: this isn't actually a bug. You can just add the : to the name filter regex in configure. Shouldn't this be the default though? -- TWiki:Main/RobHill - 18 May 2007

ItemTemplate
Summary Colons in links are not removed when the link is used to create a new topic
ReportedBy TWiki:Main.RobHill
Codebase 4.1.2
SVN Range TWiki-4.1.2, Sun, 13 May 2007, build 13714
AppliesTo Engine
Component edit
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2007-05-21 - TWikiUserMapping_RobHill
 
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