diff options
-rwxr-xr-x | fhost.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -284,6 +284,9 @@ def store_url(url, addr): @app.route("/<path:path>") def get(path): p = os.path.splitext(path) + if any(not c in su.alphabet for c in p[0]): + abort(404) + id = su.debase(p[0]) if p[1]: |