# HG changeset patch # User Thierry Florac # Date 1360512698 -3600 # Node ID fb08f604db4341f5747602a10f43e235a64823a4 # Parent 8ac8b1696cb3607b3384fe6a6e3c5ccfafd4fa53 Force "escapeSlashes" argument to get content name diff -r 8ac8b1696cb3 -r fb08f604db43 src/ztfy/utils/container.py --- a/src/ztfy/utils/container.py Sat Feb 09 15:16:36 2013 +0100 +++ b/src/ztfy/utils/container.py Sun Feb 10 17:11:38 2013 +0100 @@ -32,7 +32,7 @@ Target name will be suffixed with an index if base name already exists """ if translate: - base_name = translateString(base_name, spaces='-') + base_name = translateString(base_name, escapeSlashes=True, spaces='-') if max_length: base_name = base_name[0:max_length] if base_name not in container: