Skip to content

Commit

Permalink
Allow passwords with colons in them
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelWaldvogel committed Jun 2, 2017
1 parent 685163f commit 7bb5cf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions external_cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def from_prosody():
break
line = line.rstrip("\n")
logging.debug("from_prosody got %s" + line)
yield line.split(':')
yield line.split(':', 3)

def to_prosody(bool):
answer = '0'
Expand All @@ -143,7 +143,7 @@ def from_ejabberd():
logging.warn("premature EOF while reading cmd: %d != %d" % (len(cmd), size))
return
logging.debug("from_ejabberd got %s" % cmd)
x = cmd.split(':')
x = cmd.split(':', 3)
yield x
length_field = sys.stdin.read(2)

Expand Down

0 comments on commit 7bb5cf4

Please sign in to comment.