-
- Downloads
oauth: never use base64 padding when returning tokens to applications
The normal Base64 alphabet uses the equals sign (=) as a padding character. Since Base64 strings are self-synchronizing, padding characters are unnecessary, so don't generate them in the first place.
Showing
- lib/pleroma/web/oauth/app.ex 8 additions, 2 deletionslib/pleroma/web/oauth/app.ex
- lib/pleroma/web/oauth/authorization.ex 1 addition, 1 deletionlib/pleroma/web/oauth/authorization.ex
- lib/pleroma/web/oauth/oauth_controller.ex 1 addition, 1 deletionlib/pleroma/web/oauth/oauth_controller.ex
- lib/pleroma/web/oauth/token.ex 2 additions, 2 deletionslib/pleroma/web/oauth/token.ex
Please register or sign in to comment