mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
client::auth: fix base64 encoding
This commit is contained in:
parent
d4bd64370c
commit
36d7ab474e
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ impl<S: AsyncWrite> ClientAuth<S> {
|
|||
.ns(NS_XMPP_SASL);
|
||||
let nonza = attrs.iter()
|
||||
.fold(nonza, |nonza, &(name, value)| nonza.attr(name, value))
|
||||
.append(content.to_base64(base64::URL_SAFE))
|
||||
.append(content.to_base64(base64::STANDARD))
|
||||
.build();
|
||||
|
||||
let send = stream.send(Packet::Stanza(nonza));
|
||||
|
|
Loading…
Reference in a new issue