[CalendarServer-changes] [1093] CalendarServer/trunk/twistedcaldav/logging.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Jan 23 18:57:55 PST 2007


Revision: 1093
          http://trac.macosforge.org/projects/calendarserver/changeset/1093
Author:   dreid at apple.com
Date:     2007-01-23 18:57:54 -0800 (Tue, 23 Jan 2007)

Log Message:
-----------
Quote foo at bar when logging with authz data

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/logging.py

Modified: CalendarServer/trunk/twistedcaldav/logging.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/logging.py	2007-01-24 02:57:04 UTC (rev 1092)
+++ CalendarServer/trunk/twistedcaldav/logging.py	2007-01-24 02:57:54 UTC (rev 1093)
@@ -137,7 +137,7 @@
             if isinstance(request.authnUser.children[0], davxml.HRef):
                 uid = str(request.authnUser.children[0])
                 if hasattr(request, "authzUser") and str(request.authzUser.children[0]) != uid:
-                    uid += " as %s" % (str(request.authzUser.children[0]),)
+                    uid = '"%s as %s"' % (uid, str(request.authzUser.children[0]),)
         
 
         self.logMessage(

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070123/89de3204/attachment.html


More information about the calendarserver-changes mailing list