xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #2125: server_core.py.patch

File server_core.py.patch, 875 bytes (added by brief, 11 months ago)
  • xpra/server/server_core.py

     
    566566        #either with ":" or "," as separator
    567567        scpos = auth_str.find(":")
    568568        cpos = auth_str.find(",")
     569        separator = ","
    569570        if cpos<0 or scpos<cpos:
    570             parts = auth_str.split(":", 1)
    571         else:
    572             parts = auth_str.split(",", 1)
     571            separator = ":"
     572        parts = auth_str.split(separator, 1)
    573573        auth = parts[0]
    574574        auth_options = {}
    575575        if len(parts)>1:
    576             auth_options = parse_simple_dict(parts[1])
     576            auth_options = parse_simple_dict(parts[1], separator)
    577577        auth_options["exec_cwd"] = self.exec_cwd
    578578        try:
    579579            if auth=="sys":