mirror of
https://github.com/dkmstr/openuds.git
synced 2025-03-11 00:58:39 +03:00
Fixed RDPFile to split linux command lines correctly
This commit is contained in:
parent
c7513328eb
commit
76c822b015
@ -37,9 +37,9 @@ from __future__ import unicode_literals
|
||||
|
||||
from uds.core.util import OsDetector
|
||||
import six
|
||||
import os
|
||||
import shlex
|
||||
|
||||
__updated__ = '2017-11-15'
|
||||
__updated__ = '2017-11-29'
|
||||
|
||||
|
||||
class RDPFile(object):
|
||||
@ -161,7 +161,7 @@ class RDPFile(object):
|
||||
params.append('/sec:rdp')
|
||||
|
||||
if self.linuxCustomParameters is not None and self.linuxCustomParameters.strip() != '':
|
||||
params.append(self.linuxCustomParameters.strip())
|
||||
params += shlex.split(self.linuxCustomParameters.strip())
|
||||
|
||||
return params
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user