fixing a bug in IE to encode stuff in base64
git-svn-id: https://beef.googlecode.com/svn/trunk@554 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -12,6 +12,9 @@ beef.encode.base64 = {
|
||||
var enc1, enc2, enc3, enc4;
|
||||
var i = 0;
|
||||
|
||||
if(typeof input != "string")
|
||||
input = input.toString();
|
||||
|
||||
do {
|
||||
chr1 = input.charCodeAt(i++);
|
||||
chr2 = input.charCodeAt(i++);
|
||||
|
||||
Reference in New Issue
Block a user