Don't add newlines to base64 encoded stuff. Fixes nuclearace/Socket.IO-Client-Swft#105
This commit is contained in:
parent
b8307b6b27
commit
cf651b8a00
@ -83,7 +83,7 @@ extension SocketEngineSpec {
|
|||||||
|
|
||||||
return .Left(mutData)
|
return .Left(mutData)
|
||||||
} else {
|
} else {
|
||||||
let str = "b4" + data.base64EncodedStringWithOptions(.Encoding64CharacterLineLength)
|
let str = "b4" + data.base64EncodedStringWithOptions(NSDataBase64EncodingOptions(rawValue: 0))
|
||||||
|
|
||||||
return .Right(str)
|
return .Right(str)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user