Explorar el Código

Merge branch 'merge' into merge-all

Thomas Waldmann hace 10 años
padre
commit
b14a6bc3c1
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      attic/helpers.py

+ 1 - 1
attic/helpers.py

@@ -512,7 +512,7 @@ def remove_surrogates(s, errors='replace'):
     return s.encode('utf-8', errors).decode('utf-8')
 
 
-_safe_re = re.compile('^((..)?/+)+')
+_safe_re = re.compile('^((\.\.)?/+)+')
 
 
 def make_path_safe(path):