Item9823: Mailer may not be parsing WebNotify lines correctly

Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MailerContrib
Reported By: CrawfordCurrie
Waiting For:
Last Change By: CrawfordCurrie
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, 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.

-- CrawfordCurrie - 12 Oct 2010

Tested; can't see any problem

-- CrawfordCurrie - 16 Mar 2011

ItemTemplate edit

Summary Mailer may not be parsing WebNotify lines correctly
ReportedBy CrawfordCurrie
SVN Range
AppliesTo Extension
Component MailerContrib
Priority Normal
CurrentState No Action Required
Checkins distro:a7ff8b822ae0 distro:74901dd1672c
TargetRelease n/a
ReleasedIn n/a
Topic revision: r2 - 16 Mar 2011, CrawfordCurrie - This page was cached on 16 May 2020 - 13:52.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy