Merge pull request #169 from wavify/utf7-getboxes

Encode namespace with utf7 in getBoxes()
fork
Brian White 12 years ago
commit a589ca1038

@ -797,7 +797,7 @@ ImapConnection.prototype.getBoxes = function(namespace, cb) {
namespace = '';
}
this._send((!this._serverSupports('XLIST') ? 'LIST' : 'XLIST')
+ ' "' + utils.escape(namespace) + '" "*"', cb);
+ ' "' + utils.escape(utf7.encode(''+namespace)) + '" "*"', cb);
};
ImapConnection.prototype.addBox = function(name, cb) {

Loading…
Cancel
Save