summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfhost.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/fhost.py b/fhost.py
index 70e1109..8770010 100755
--- a/fhost.py
+++ b/fhost.py
@@ -408,6 +408,10 @@ def get(path):
path = Path(path.split("/", 1)[0])
sufs = "".join(path.suffixes[-2:])
name = path.name[:-len(sufs) or None]
+
+ if "." in name:
+ abort(404)
+
id = su.debase(name)
if sufs: