summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfhost.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/fhost.py b/fhost.py
index 3d45c4d..8201954 100755
--- a/fhost.py
+++ b/fhost.py
@@ -400,7 +400,7 @@ def store_url(url, addr, ua, secret: bool):
if "content-length" in r.headers:
l = int(r.headers["content-length"])
- if l < app.config["MAX_CONTENT_LENGTH"]:
+ if l <= app.config["MAX_CONTENT_LENGTH"]:
def urlfile(**kwargs):
return type('',(),kwargs)()