mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-18 11:38:53 +00:00
See ChangeLog
Monotone-Parent: 024380d579a482e49866c36ef54561cf8b39ab02 Monotone-Revision: 2cbc46c16f9b3d45d868b15a968f614dbbaf9749 Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2010-03-08T15:18:05 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -272,8 +272,7 @@ String.prototype.base64decode = function() {
|
||||
var enc1, enc2, enc3, enc4;
|
||||
var i = 0;
|
||||
|
||||
var input = this.replace(/[^A-Za-z0-9\+\/\=]/g, "");
|
||||
|
||||
var input = "" + this; // .replace(/[^A-Za-z0-9\+\/\=]/g, "")
|
||||
while (i < input.length) {
|
||||
enc1 = this._base64_keyStr.indexOf(input.charAt(i++));
|
||||
enc2 = this._base64_keyStr.indexOf(input.charAt(i++));
|
||||
@@ -294,7 +293,7 @@ String.prototype.base64decode = function() {
|
||||
}
|
||||
}
|
||||
|
||||
return output.utf8decode();
|
||||
return output;
|
||||
};
|
||||
|
||||
String.prototype.utf8encode = function() {
|
||||
|
||||
Reference in New Issue
Block a user