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
1 changed files with 2 additions and 0 deletions

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