• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 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.

Item5232: Locales problem in WebNotify.pm and Subscibe.pmI

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension MailerContrib Normal Closed   patch 4.2.1

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


It seems like WebNotify / Subscibe are not using the right locales in the regexp, even if i use "use_locales" in the configuration.

When i include "use locale" to both, the use the right locales and therefor topics with umlauts e.g. are working for the subscription.

CDot told me, that to solve this properly, the TWiki-RE regular-expression should be used, instead the current one.

I'm not sure what "the regexp" refers to. There is only one regexp in the MailerContrib involved in matching usernames in WebNotify. This RE can be overridden by setting {MailerContrib}{EmailFilterIn}. The RE defaults to the default TWii regex for matching email addresses, but could easily be enhanced for international characters - if that's the problem.

Or perhaps this is to do with the matching of topic names? If so, there is one instance of \w when parsing topic names that may be having an impact. That RE ought to use $TWiki::regex{mixedAlphaNum} rather than \w.

Please confirm what the problem is (preferably provide a testcase - an example WebNotify topic would do). Thanks.

Later: after reading on, I'm pretty sure this is the same as Item5296. Proceeding on that basis.

-- CrawfordCurrie - 15 May 2008


-- CrawfordCurrie - 15 May 2008

Summary Locales problem in WebNotify.pm and Subscibe.pmI
ReportedBy TWiki:Main.MayerEugen
Codebase 4.1.2
SVN Range TWiki-4.3.0, Sun, 30 Dec 2007, build 16120
AppliesTo Extension
Component MailerContrib
Priority Normal
CurrentState Closed

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