mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-22 13:34:04 +03:00
Small fix so HTML5 Transport remove leading/trailing whitespaces
This commit is contained in:
parent
4196883bfb
commit
8b2df76582
@ -77,6 +77,7 @@ class HTML5RDPTransport(Transport):
|
||||
def initialize(self, values):
|
||||
if values is None:
|
||||
return
|
||||
self.guacamoleServer.value = self.guacamoleServer.value.strip()
|
||||
if self.guacamoleServer.value[0:4] != 'http':
|
||||
raise Transport.ValidationException(_('The server must be http or https'))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user