[CalendarServer-changes] [4544] CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/ accesslog.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Sep 16 08:44:03 PDT 2009
Revision: 4544
http://trac.macosforge.org/projects/calendarserver/changeset/4544
Author: cdaboo at apple.com
Date: 2009-09-16 08:43:58 -0700 (Wed, 16 Sep 2009)
Log Message:
-----------
Fix issue with unicode string conversion in extended logging.
Modified Paths:
--------------
CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/accesslog.py
Modified: CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/accesslog.py
===================================================================
--- CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/accesslog.py 2009-09-15 23:25:04 UTC (rev 4543)
+++ CalendarServer/branches/users/wsanchez/deployment/twistedcaldav/accesslog.py 2009-09-16 15:43:58 UTC (rev 4544)
@@ -129,6 +129,7 @@
]
if hasattr(request, "extendedLogItems"):
for k, v in request.extendedLogItems.iteritems():
+ k = str(k).replace('"', "%22")
v = str(v).replace('"', "%22")
if " " in v:
v = '"%s"' % (v,)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090916/b201a849/attachment.html>
More information about the calendarserver-changes
mailing list