Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Now detect invalid padding

  • Loading branch information...
commit 02a2745b4aa8214f2cae1bf0b15b447ca1a91b23 1 parent bcd6004
Nicholas C. Zakas authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  encodings/base64/base64.js
View
2  encodings/base64/base64.js
@@ -93,7 +93,7 @@ function base64Decode(text){
i=0,
result = [];
- //remove any whitespace and equals signs
+ //remove any equals signs
text = text.replace(/=/g, "");
//loop over each character

0 comments on commit 02a2745

Please sign in to comment.
Something went wrong with that request. Please try again.