Problem:
Description:
  If a DTML method is accessed with "ZPublisher/Test.py",
  an "Unauthorized" exception is raised in "verify_watermark".
 
Environment:
  Zope 2.1.6, Linux 2, Intel

Analysis:
  The module "BaseRequest" is imported twice: once as "BaseRequest"
  and once as "ZPublisher.BaseRequest".
  The AUTHENTICATED_USER (and its watermark) is constructed by
  the first module instance; the check is made against
  the watermark of the second module instance and therefore
  fails.

Patch:
  URL:http://www.handshake.de/~dieter/pyprojects/zope/test.pat


Dieter

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to