TWiki::Users::TWikiUserMapping::getWikiName()
constructs the WikiName from the cUID if the user is unknown. It relies on
$TWiki::cfg{NameFilter}
to filter out illegal characters. That configure setting does not filter out
'.'
dots. The dot is needed for other parts in TWiki, so it can't be added to the setting.
Fix: Filter out the dot explicitly in
TWiki::Users::TWikiUserMapping::getWikiName()
, as is already done in
TWiki::Users::initialiseUser()
.
I discovered this issue while writing a custom SSO login manager where the login name is an e-mail address that contains periods.
--
TWiki:Main/PeterThoeny
- 2012-06-28
This is now fixed in SVN trunk and TWiki-5.1 branch.
--
TWiki:Main/PeterThoeny
- 2012-06-28