mirror of https://gitlab.com/bashrc2/epicyon
Don't show cookie
parent
edc34a8a9a
commit
3af8d99ca5
|
@ -3790,9 +3790,12 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
|
|
||||||
# make a copy of self.headers
|
# make a copy of self.headers
|
||||||
headers={}
|
headers={}
|
||||||
|
headersWithoutCookie={}
|
||||||
for dictEntryName,headerLine in self.headers.items():
|
for dictEntryName,headerLine in self.headers.items():
|
||||||
headers[dictEntryName]=headerLine
|
headers[dictEntryName]=headerLine
|
||||||
print('New post headers: '+str(headers))
|
if dictEntryName.lower()!='cookie':
|
||||||
|
headersWithoutCookie[dictEntryName]=headerLine
|
||||||
|
print('New post headers: '+str(headersWithoutCookie))
|
||||||
|
|
||||||
length = int(headers['Content-Length'])
|
length = int(headers['Content-Length'])
|
||||||
if length>self.server.maxPostLength:
|
if length>self.server.maxPostLength:
|
||||||
|
|
Loading…
Reference in New Issue