mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
4f29cd13c5
commit
556885b8ba
|
@ -1835,7 +1835,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
return
|
return
|
||||||
accessKeysParams = \
|
accessKeysParams = \
|
||||||
urllib.parse.unquote_plus(accessKeysParams)
|
urllib.parse.unquote_plus(accessKeysParams)
|
||||||
|
print('accessKeysParams: ' + str(accessKeysParams))
|
||||||
# key shortcuts screen, back button
|
# key shortcuts screen, back button
|
||||||
# See htmlAccessKeys
|
# See htmlAccessKeys
|
||||||
if '&submitAccessKeysCancel=' in accessKeysParams or \
|
if '&submitAccessKeysCancel=' in accessKeysParams or \
|
||||||
|
@ -1855,11 +1855,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
accessKeys[variableName] = accessKeysTemplate[variableName]
|
accessKeys[variableName] = accessKeysTemplate[variableName]
|
||||||
|
|
||||||
variableName2 = variableName.replace(' ', '_')
|
variableName2 = variableName.replace(' ', '_')
|
||||||
if variableName2 in accessKeysParams:
|
if variableName2 + '=' in accessKeysParams:
|
||||||
newKey = accessKeysParams.split(variableName2 + '=')[1]
|
newKey = accessKeysParams.split(variableName2 + '=')[1]
|
||||||
if '&' in newKey:
|
if '&' in newKey:
|
||||||
newKey = newKey.split('&')[0]
|
newKey = newKey.split('&')[0]
|
||||||
if newKey:
|
if newKey:
|
||||||
|
print('accessKeysParams newKey: ' + str(newKey))
|
||||||
if len(newKey) > 1:
|
if len(newKey) > 1:
|
||||||
newKey = newKey[0]
|
newKey = newKey[0]
|
||||||
if newKey != accessKeys[variableName]:
|
if newKey != accessKeys[variableName]:
|
||||||
|
|
Loading…
Reference in New Issue