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:
parent
302b9a85d5
commit
22415b98cd
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user