1.1 --- a/WebStack/Generic.py Sun Nov 20 21:35:45 2005 +0000
1.2 +++ b/WebStack/Generic.py Sun Nov 20 23:37:12 2005 +0000
1.3 @@ -636,10 +636,15 @@
1.4 example:
1.5
1.6 trans.update_path("/parent/node", "other") -> "/parent/other"
1.7 +
1.8 trans.update_path("/parent/node/", "other") -> "/parent/node/other"
1.9 +
1.10 trans.update_path("/parent/node", "../other") -> "/other"
1.11 +
1.12 trans.update_path("/parent/node/", "../other") -> "/parent/other"
1.13 +
1.14 trans.update_path("/parent/node", "../../other") -> "/other"
1.15 +
1.16 trans.update_path("/parent/node/", "../../other") -> "/other"
1.17
1.18 Where 'relative_path' begins with "/", the 'path' is reset to "/" and
1.19 @@ -656,6 +661,7 @@
1.20 component, unless it was an empty component:
1.21
1.22 trans.update_path("/parent/node", "") -> "/parent/"
1.23 +
1.24 trans.update_path("/parent/node/", "") -> "/parent/node/"
1.25 """
1.26