Skip to content

Commit

Permalink
Now detect invalid padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas C. Zakas committed Nov 28, 2009
1 parent bcd6004 commit 02a2745
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion encodings/base64/base64.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02a2745

Please sign in to comment.