1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

TEMP: Check if sanitization is failing tests

This commit is contained in:
Tessa Walsh 2024-10-31 12:38:13 -04:00
parent c79af0d431
commit 9d98cf48ce

View File

@ -30,7 +30,7 @@ class StaticHandler(object):
if url.endswith('/'): if url.endswith('/'):
url += 'index.html' url += 'index.html'
url = sanitize_filepath(url) # url = sanitize_filepath(url)
canonical_static_path = environ.get('pywb.static_dir') canonical_static_path = environ.get('pywb.static_dir')
if not canonical_static_path: if not canonical_static_path: