[CalendarServer-changes] [8066] CalendarServer/branches/users/glyph/other-html/twext/web2/static.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 13 12:09:00 PDT 2011


Revision: 8066
          http://trac.macosforge.org/projects/calendarserver/changeset/8066
Author:   glyph at apple.com
Date:     2011-09-13 12:09:00 -0700 (Tue, 13 Sep 2011)
Log Message:
-----------
remove misleading comment, hypothetical information leak about FS structure

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/other-html/twext/web2/static.py

Modified: CalendarServer/branches/users/glyph/other-html/twext/web2/static.py
===================================================================
--- CalendarServer/branches/users/glyph/other-html/twext/web2/static.py	2011-09-13 19:08:53 UTC (rev 8065)
+++ CalendarServer/branches/users/glyph/other-html/twext/web2/static.py	2011-09-13 19:09:00 UTC (rev 8066)
@@ -417,8 +417,8 @@
                     # Render from the index file
                     standin = self.createSimilarFile(ifp.path)
                 else:
-                    # Render from a DirectoryLister
-                    standin = Data("Directory: %s" % (self.fp.path,),
+                    # Directory listing is in twistedcaldav.extensions
+                    standin = Data("Directory: %s" % (req.path,),
                                    "text/plain")
                 return standin.render(req)
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20110913/ee2d33b5/attachment-0001.html>


More information about the calendarserver-changes mailing list