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

Item5296: MailerContrib doesn't work with page/filename using accent (french)

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension MailerContrib Normal No Action Required   n/a 4.1.2

Edit Form Data

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

Detail

At my job, we mix french and english, same in wiki pages,

somebody create a bunch of RequêtesNNNN pages (french for RequestNNNN),

they look good from the shell :

-rw-r--r--   1 twiki    twiki       1999 Jan 18 08:43 Requêtes1002.txt 
-r--r--r--   1 twiki    twiki       6232 Jan 18 08:43 Requêtes1002.txt,v 
-rw-r--r--   1 twiki    twiki       2590 Jan 18 08:45 Requêtes1003.txt 
-r--r--r--   1 twiki    twiki       6033 Jan 18 08:45 Requêtes1003.txt,v 
-rw-r--r--   1 twiki    twiki       2872 Jan 18 08:46 Requêtes1004.txt 
-r--r--r--   1 twiki    twiki       6422 Jan 18 08:46 Requêtes1004.txt,v

But MailNotify doesn't like them , I got :

Badly formatted subscription for AntTam:   Requêtes1015 Requêtes1016 Requêtes1027 Requêtes1043 Requêtes1063 Requêtes1064 Requêtes1065

The regex at line 326 in WebNotify.pm doesn't like the page name, it cut the name before the accent at 'Requ' and the regex at line 336 see the accent instead of a space and raises a formatted error.

Instead of using \w at line 326, we should use some like $TWiki::regex{wikiWordRegex} like before in the same script ?

-- TWiki:Main/CyrilleMastchenko - 28 Jan 2008

Duplicate of Item5232. Thanks for the testcase!

-- CrawfordCurrie - 15 May 2008

ItemTemplate
Summary MailerContrib doesn't work with page/filename using accent (french)
ReportedBy TWiki:Main.CyrilleMastchenko
Codebase 4.1.2
SVN Range TWiki-5.0.0, Wed, 23 Jan 2008, build 16283
AppliesTo Extension
Component MailerContrib
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn 4.1.2
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2008-05-15 - CrawfordCurrie
 
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