[Checkins] SVN: z3c.jbot/trunk/z3c/jbot/manager.py Normalize the
template filename. This makes it possible to customer
templates which use relative paths such as ../recurse.pt
Wichert Akkerman
wichert at wiggy.net
Thu Apr 24 10:52:54 EDT 2008
Log message for revision 85697:
Normalize the template filename. This makes it possible to customer templates which use relative paths such as ../recurse.pt
Changed:
U z3c.jbot/trunk/z3c/jbot/manager.py
-=-
Modified: z3c.jbot/trunk/z3c/jbot/manager.py
===================================================================
--- z3c.jbot/trunk/z3c/jbot/manager.py 2008-04-24 10:36:28 UTC (rev 85696)
+++ z3c.jbot/trunk/z3c/jbot/manager.py 2008-04-24 14:52:54 UTC (rev 85697)
@@ -18,6 +18,7 @@
syspath = _syspaths[0]
+ path = os.path.normpath(path)
if not path.startswith(syspath):
return None
More information about the Checkins
mailing list