##// END OF EJS Templates
fix reserved char on windows, '[]+' are allowed
Benoit Boissinot -
r3860:8e907b86 default
parent child Browse files
Show More
@@ -907,7 +907,7 b' else:'
907
907
908 def _buildencodefun():
908 def _buildencodefun():
909 e = '_'
909 e = '_'
910 win_reserved = [ord(x) for x in '|\?*<":>+[]']
910 win_reserved = [ord(x) for x in '\\:*?"<>|']
911 cmap = dict([ (chr(x), chr(x)) for x in xrange(127) ])
911 cmap = dict([ (chr(x), chr(x)) for x in xrange(127) ])
912 for x in (range(32) + range(126, 256) + win_reserved):
912 for x in (range(32) + range(126, 256) + win_reserved):
913 cmap[chr(x)] = "~%02x" % x
913 cmap[chr(x)] = "~%02x" % x
General Comments 0
You need to be logged in to leave comments. Login now