Item9823: Mailer may not be parsing WebNotify lines correctly
Current State: No Action Required
Released In: n/a
Target Release: n/a
Problem reported by Ray Mikkelson of UniqueSoft against (tm)wiki, but it may affect Foswiki as well. Needs to be checked.
On the WebNotify page, you must put the entries like so:
Putting something like the following doesn't work (even though that's the example that the TWiki itself gives on the WebNotify topic):
It turns out that if you put the 2nd format, the code looks for your email address as a user, and can't find it... (It ignores the Main.User and uses the email instead.)
(Note that the other webs work because they don't need to compare to the ALLOWWEBVIEW parameter, since they're null.)
I found that there's 2 checkAccessPermissions routines... wink One calls the other, interestingly enough... And, before one calls the other, it changes the username passed in to a cUID (canonical UID)... I can see the code passing in Ray.Mikkelson@uniqueysoft.com, for example, and getting converted to BaseUserMapping_666 before the lower-level checkAccessPermissions gets called.
I think that the WebNotify topic should be updated in the distribution archive. And perhaps the MailNotify topic as well.
- 12 Oct 2010
Tested; can't see any problem
- 16 Mar 2011