Chromium: Russian language, autofill passwords from svc_login/svc_password via Login Data

This commit is contained in:
2026-04-30 07:22:31 +00:00
parent d7c956e10b
commit 23c1f6e342
3 changed files with 143 additions and 22 deletions
+2 -2
View File
@@ -840,7 +840,7 @@ def dispatch_universal_target(slot: int, service: Service, width: Optional[int]
payload = {}
if service.type == ServiceType.WEB:
url = f"http://{name}:7000/open"
payload = {"url": normalize_web_target(service.target)}
payload = {"url": normalize_web_target(service.target), "login": service.svc_login or "", "password": service.svc_password or ""}
width, height = sanitize_client_resolution(width, height)
if width and height:
payload["width"] = width
@@ -876,7 +876,7 @@ def dispatch_web_pool_target(slot: int, service: Service, width: Optional[int] =
name = web_pool_container_name(slot)
target_url = normalize_web_target(service.target)
url = f"http://{name}:7000/open"
payload = {"url": target_url}
payload = {"url": target_url, "login": service.svc_login or "", "password": service.svc_password or ""}
width, height = sanitize_client_resolution(width, height)
if width and height:
payload["width"] = width