mirror of https://gitlab.com/bashrc2/epicyon
Remove trailing equals
parent
65680dd885
commit
e6eebb1365
|
@ -2270,10 +2270,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
login_str += login_prm + '='
|
login_str += login_prm + '='
|
||||||
else:
|
else:
|
||||||
if '&' in login_prm:
|
if '&' in login_prm:
|
||||||
login_str += '&' + login_prm.split('&')[1]
|
login_str += \
|
||||||
|
'&' + login_prm.split('&')[1] + '='
|
||||||
skip_param = False
|
skip_param = False
|
||||||
if 'password' in login_prm:
|
if 'password' in login_prm:
|
||||||
skip_param = True
|
skip_param = True
|
||||||
|
login_str = login_str[:len(login_str) - 1]
|
||||||
print(login_str)
|
print(login_str)
|
||||||
self._401('No login credentials were posted')
|
self._401('No login credentials were posted')
|
||||||
self.server.postreq_busy = False
|
self.server.postreq_busy = False
|
||||||
|
|
Loading…
Reference in New Issue