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