Ticket #2125: server_core.py.patch
File server_core.py.patch, 875 bytes (added by , 20 months ago) |
---|
-
xpra/server/server_core.py
566 566 #either with ":" or "," as separator 567 567 scpos = auth_str.find(":") 568 568 cpos = auth_str.find(",") 569 separator = "," 569 570 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) 573 573 auth = parts[0] 574 574 auth_options = {} 575 575 if len(parts)>1: 576 auth_options = parse_simple_dict(parts[1] )576 auth_options = parse_simple_dict(parts[1], separator) 577 577 auth_options["exec_cwd"] = self.exec_cwd 578 578 try: 579 579 if auth=="sys":