1
0
mirror of https://github.com/dkmstr/openuds.git synced 2025-01-13 13:17:54 +03:00

Commented out fix for passwords. Do not apply to 3.x mechanics

This commit is contained in:
Adolfo Gómez García 2020-11-11 08:48:36 +01:00
parent 302b9a85d5
commit 22415b98cd
2 changed files with 4 additions and 4 deletions

View File

@ -105,8 +105,8 @@ class RDPTransport(BaseRDPTransport):
ci = self.getConnectionInfo(userService, user, password)
username, password, domain = ci['username'], ci['password'], ci['domain']
# escape conflicting chars
password = password.replace('\\', '\\\\').replace('"', '\\"').replace("'", "\\'")
# escape conflicting chars : Note, on 3.0 this should not be neccesary. Kept until more tests
# password = password.replace('\\', '\\\\').replace('"', '\\"').replace("'", "\\'")
# width, height = CommonPrefs.getWidthHeight(prefs)
# depth = CommonPrefs.getDepth(prefs)

View File

@ -124,8 +124,8 @@ class TRDPTransport(BaseRDPTransport):
ci = self.getConnectionInfo(userService, user, password)
username, password, domain = ci['username'], ci['password'], ci['domain']
# escape conflicting chars
password = password.replace('\\', '\\\\').replace('"', '\\"').replace("'", "\\'")
# escape conflicting chars : Note, on 3.0 this should not be neccesary. Kept until more tests
# password = password.replace('\\', '\\\\').replace('"', '\\"').replace("'", "\\'")
# width, height = CommonPrefs.getWidthHeight(prefs)
# depth = CommonPrefs.getDepth(prefs)