From 2d9dd2c1458473f7dc671fe1798e6dde5b2a2359 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 28 Aug 2022 15:17:24 +0100 Subject: [PATCH] Indicate non-zero length --- daemon.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/daemon.py b/daemon.py index de64c8493..994a68f79 100644 --- a/daemon.py +++ b/daemon.py @@ -2269,6 +2269,8 @@ class PubServer(BaseHTTPRequestHandler): if not skip_param: login_str += login_prm + '=' else: + if len(login_prm.split('&')[0]) > 0: + login_str += login_prm + '*' if '&' in login_prm: login_str += \ '&' + login_prm.split('&')[1] + '='