Merge branch 'fix-escape-sequence' into 'master'
Fix escape sequence See merge request zlax/sshch!2
This commit is contained in:
commit
fc9640a491
|
@ -84,7 +84,7 @@ def ConvertPassword(password):
|
|||
elif char == '"':
|
||||
password_string += "''"+'"'+"''"
|
||||
elif char == ';':
|
||||
password_string += "'"+"\;"+"'"
|
||||
password_string += "'"+r'\;'+"'"
|
||||
elif char == "\\":
|
||||
password_string += "'"+'"'+"\\"+"\\"+'"'+"'"
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue