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

Having set up a site which is semi-closed, that successfully uses WikiWords with non US-ASCII characters ( ) also usernames and thus WikiNames I found a showstopper.

If a name with is found in a group, no names after that, including that name is parsed. This seriously hampers usage.

UseLocale = 1
Charset in use: ISO-8859-15 (fi_FI@euro in Suse 10.0)

I tracked the problem to: /lib/TWiki/Users.pm line 115-116:

# TODO: i18n fix for user name
$names =~ s/\s*([a-zA-Z0-9_\.\,\s\%]*)\s*(.*)/$1/go; # Limit list

Which seems to be a classic a-z regexp problem. When line is replaced with:

$names =~ s/\s*([$TWiki::regex{mixedAlphaNum}_\.\,\s\%]*)\s*(.*)/$1/go;
everything seems to work like it should.

This might be the fix - what I don't know is if it breaks something else or poses some risks.

I think its a pretty harmless fix. SVN 10170.

Merged to 4.0.x branch at SVN 10171.

-- AT

Summary I18N: Non US-ASCII chars in usernames breaks groups
ReportedBy TWiki:Main.AndersBistrom
Codebase 4.0.2, ~develop
SVN Range Sat, 06 May 2006 build 10108
AppliesTo Engine

Priority Urgent
CurrentState Closed

Checkins 10170 10171
TargetRelease patch
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2006-06-08 - SteffenPoulsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback