Merge pull request #938 from lorenzhs/password-escape-comma

Escape comma in password
This commit is contained in:
Lorenz Hübschle-Schneider 2017-05-10 22:38:34 +02:00 committed by GitHub
commit 6af2a870fb

View file

@ -35,6 +35,8 @@ weechat.factory('connection',
// Helper methods for initialization commands
var _initializeConnection = function(passwd) {
// Escape comma in password (#937)
passwd = passwd.replace(',', '\\,');
// This is not the proper way to do this.
// WeeChat does not send a confirmation for the init.
// Until it does, We need to "assume" that formatInit