1.1 --- a/examples/Common/Calendar/__init__.py Thu Aug 25 13:44:38 2005 +0000
1.2 +++ b/examples/Common/Calendar/__init__.py Thu Aug 25 16:35:23 2005 +0000
1.3 @@ -85,7 +85,7 @@
1.4 <D:status>HTTP/1.1 200 OK</D:status>
1.5 </D:propstat>
1.6 </D:response>
1.7 -""" % (trans.get_path_without_query(), time_now, trans.get_path_without_query()))
1.8 +""" % (trans.get_path_without_query(self.urlencoding), time_now, trans.get_path_without_query(self.urlencoding)))
1.9
1.10 for filename in os.listdir(self.resource_dir):
1.11 pathname = os.path.join(self.resource_dir, filename)
1.12 @@ -105,7 +105,7 @@
1.13 <D:status>HTTP/1.1 200 OK</D:status>
1.14 </D:propstat>
1.15 </D:response>
1.16 -""" % (trans.get_path_without_query(), filename, created, filename, "text/calendar", size))
1.17 +""" % (trans.get_path_without_query(self.urlencoding), filename, created, filename, "text/calendar", size))
1.18
1.19 out.write("""
1.20 </D:multistatus>