mozilla-mobile / guardian-vpn-ios

Mozilla VPN for iOS
https://vpn.mozilla.org
Mozilla Public License 2.0
52 stars 16 forks source link

Fix base64UrlEncode implementation to remove "=" #281

Open NilsIrl opened 3 years ago

NilsIrl commented 3 years ago

As specified in https://tools.ietf.org/html/rfc7636#appendix-A

This is untested

rlr commented 3 years ago

We'll need to test this to see if it requires some backend tweaks too. Thanks!!

NilsIrl commented 3 years ago

I've tested it for the development of https://github.com/NilsIrl/MozWire/ so at least on /windows it should work.