Show More
@@ -350,7 +350,7 b' def shellquote(s):' | |||||
350 | return '"%s"' % s |
|
350 | return '"%s"' % s | |
351 | global _needsshellquote |
|
351 | global _needsshellquote | |
352 | if _needsshellquote is None: |
|
352 | if _needsshellquote is None: | |
353 | _needsshellquote = re.compile(r'[^a-zA-Z0-9._/-]').search |
|
353 | _needsshellquote = re.compile(r'[^a-zA-Z0-9._/+-]').search | |
354 | if s and not _needsshellquote(s): |
|
354 | if s and not _needsshellquote(s): | |
355 | # "s" shouldn't have to be quoted |
|
355 | # "s" shouldn't have to be quoted | |
356 | return s |
|
356 | return s |
General Comments 0
You need to be logged in to leave comments.
Login now