Question
I cannot add a user with national chars in
WikiName.
The cause is check for "Harmless string" in Sandbox.pm _buildCommandLine (line 220):
if ( $param =~ /^([0-9A-Za-z.+_\-]{0,30})$/ )
and it prevents to have such chars in command line that creates rcs file.
Is it bug or feature? If bug, then simple patch is in attachment
Environment
--
NikitaSmirnov - 12 Apr 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.
The code has changed quite a bit since I first did
I18N - back then, Apache authentication was the only option and that limited user names to ASCII characters, as I discovered. The new Sandbox code has presumably taken this constraint on board - however, it's probably more likely that the Sandbox code needs to be internationalised in that area. See
InternationalisationGuidelines for the sort of code changes required to make
I18N of
WikiNames work across Perl versions and various environments.
--
RichardDonkin - 12 Apr 2006
Thank you Nikita, I filed
Bugs:Item2402
--
PeterThoeny - 01 Jun 2006
This is not a bug. Please see
http://twiki.org/cgi-bin/view/TWiki/UsingI18NInUsernames
for the workaround to allow you to use
I18N in usernames.
--
CrawfordCurrie - 02 Jun 2006