add check for bad paths
This commit is contained in:
parent
637e0bb14c
commit
d03d77aff8
@ -102,6 +102,10 @@ public final class SocketEngine : NSObject, NSURLSessionDelegate, SocketEnginePo
|
||||
forceWebsockets = force
|
||||
case let .Path(path):
|
||||
socketPath = path
|
||||
|
||||
if !socketPath.hasSuffix("/") {
|
||||
socketPath += "/"
|
||||
}
|
||||
case let .VoipEnabled(enable):
|
||||
voipEnabled = enable
|
||||
case let .Secure(secure):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user