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

Item4818: Regexp for group name inconsistent

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension MailerContrib Normal Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

MailerContrib allows use of a group name for subscriptions.

What's the standard for a group name?

In Users.pm: expandUserList(), it seems to say:

$TWiki::regex{mixedAlphaNum}_\.\,\s\%]*

whereas in WebNotify.pm:_load(), it seems to be:

$webRE?($TWiki::regex{wikiWordRegex})

I'm not sure if this is a MailerContrib issue, or belongs elsewhere.

In my case, I'm running a custom UserMapping so I can hold my

users and groups in ldap, and I need to have colons in my group names.

It would be really nice if there was just one place I could make that change.

-- TWiki:Main/BobGoldstein - 14 Oct 2007

Classically (before 4.2) group names had to be wikinames. They are now allowed to be anything permitted by the user mapping manager, which I guess is \w. The expression you quote above is as good as any.

CC

ItemTemplate
Summary Regexp for group name inconsistent
ReportedBy TWiki:Main.BobGoldstein
Codebase 4.1.2
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component MailerContrib
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:15463 TWikirev:15465
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2007-11-02 - CrawfordCurrie
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback