Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows XP SP2
Web server: Apache 2.2.3
Perl version: 5.8.8.817
Client OS: Windows 2000 SP4
Web Browser: IE 6.0.2800.1106
Categories: Registration

-- JosephChieu - 29 Sep 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Change status to:
Topic revision: r2 - 2006-10-11 - CrawfordCurrie
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.