Question
This is a new twiki that I'm trying to install and configure.
When a user attempts to register a new account, they receive the email notifications.
If they click on the email link, they get the following error on the web browser:
invalid string argument 'TWikiRegistrationAgent' %USERNAME|S% at E:/twiki/lib/TWiki/Sandbox.pm line 225.
The only workaround is to modify the Sandbox.pm and change this line from:
$param =~ /^[0-9A-Za-z.+_\-]$/ ) {
to:
$param =~ /^[0-9A-Za-z.+_\-].*$/ ) {
Should this be done or is there another fix to address this problem?
Environment
--
JosephChieu - 29 Sep 2006
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
You're right, it's a bug. Your workaround is OK on a private server, though the RE should be changed thus:
$param =~ /^[0-9A-Za-z.+_\-]+$/
Tracked in
Bugs:Item2981
--
CrawfordCurrie - 11 Oct 2006