Merge pull request #938 from lorenzhs/password-escape-comma
Escape comma in password
This commit is contained in:
commit
6af2a870fb
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue