mirror of
https://git.0x0.st/mia/0x0.git
synced 2024-11-22 08:57:11 +01:00
parent
c2b5e95903
commit
8a912e8744
1 changed files with 1 additions and 1 deletions
2
fhost.py
2
fhost.py
|
@ -400,7 +400,7 @@ def store_url(url, addr, ua, secret: bool):
|
||||||
if "content-length" in r.headers:
|
if "content-length" in r.headers:
|
||||||
l = int(r.headers["content-length"])
|
l = int(r.headers["content-length"])
|
||||||
|
|
||||||
if l < app.config["MAX_CONTENT_LENGTH"]:
|
if l <= app.config["MAX_CONTENT_LENGTH"]:
|
||||||
def urlfile(**kwargs):
|
def urlfile(**kwargs):
|
||||||
return type('',(),kwargs)()
|
return type('',(),kwargs)()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue