Skip to content

Commit

Permalink
Fix to support passwords containing colon
Browse files Browse the repository at this point in the history
  • Loading branch information
nosnilmot committed Aug 31, 2017
1 parent 3a5f616 commit 94202ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auth_mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def ejabberd_in():
(size,) = struct.unpack('>h', input_length)
logging.debug('size of data: %i'%size)

income=sys.stdin.read(size).split(':')
income=sys.stdin.read(size).split(':', 4)
logging.debug("incoming data: %s"%income)

return income
Expand Down

0 comments on commit 94202ae

Please sign in to comment.