more escaping
This commit is contained in:
parent
17c5cfc44f
commit
db3e9ccbc3
|
@ -659,8 +659,8 @@ Cloudron.prototype.checkMail = function (account, callback) {
|
||||||
});
|
});
|
||||||
|
|
||||||
imap.probe({
|
imap.probe({
|
||||||
subject: new RegExp('^Hi from e2e test - ' + this._box.domain + '$'),
|
subject: common.regexp('Hi from e2e test - ' + this._box.domain),
|
||||||
to: new RegExp((account.to || account.username) + '@' + this._box.domain),
|
to: common.regexp((account.to || account.username) + '@' + this._box.domain),
|
||||||
body: /This release depends on you/
|
body: common.regexp('This release depends on you')
|
||||||
}, callback);
|
}, callback);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue