Indicate non-zero length

main
Bob Mottram 2022-08-28 15:17:24 +01:00
parent e6eebb1365
commit 2d9dd2c145
1 changed files with 2 additions and 0 deletions

View File

@ -2269,6 +2269,8 @@ class PubServer(BaseHTTPRequestHandler):
if not skip_param: if not skip_param:
login_str += login_prm + '=' login_str += login_prm + '='
else: else:
if len(login_prm.split('&')[0]) > 0:
login_str += login_prm + '*'
if '&' in login_prm: if '&' in login_prm:
login_str += \ login_str += \
'&' + login_prm.split('&')[1] + '=' '&' + login_prm.split('&')[1] + '='