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

TWiki.cfg has the following entry:

# **REGEX**
# Filter-in regex for webnames, topic names, usernames, include paths
# and skin names
$cfg{NameFilter} = qr/[\s\*?~^$@%`"'&;|<>\x00-\x1f]/;

However, in qr/.../ variables are interpolated, so the actual default value (as can be easily verified with bin/configure on develop.twiki.org) lacks the characters '$' and '@' (the special perl variable $@ has a value only if a preceding eval failed).

Patch:

--- lib/TWiki.cfg~      2005-09-26 13:50:33.600380000 +0200
+++ lib/TWiki.cfg       2005-09-28 14:54:55.041489900 +0200
@@ -335,5 +335,5 @@
 # Filter-in regex for webnames, topic names, usernames, include paths
 # and skin names
-$cfg{NameFilter} = qr/[\s\*?~^$@%`"'&;|<>\x00-\x1f]/;
+$cfg{NameFilter} = qr/[\s\*?~^\$@%`"'&;|<>\x00-\x1f]/;
 
 # **BOOLEAN**


SVN 6648 CC

ItemTemplate
Summary Dakar Beta1: TWiki.cfg: $cfg{NameFilter} default needs escaping of $
ReportedBy TWiki:Main.HaraldJoerg
AppliesTo Engine
Priority Urgent
CurrentState Closed
WaitingFor

Checkins 6648
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2005-09-28 - 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