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

Fix validation

This commit is contained in:
Tessa Walsh 2024-11-05 11:34:20 -05:00
parent 839694f70f
commit a5a5d1c6d3

View File

@ -42,7 +42,7 @@ class StaticHandler(object):
full_path = os.path.join(self.static_path, url)
try:
validate_requested_file_path(static_path_to_validate, full_path)
validate_requested_file_path(static_path_to_validate, url)
except ValueError:
raise NotFoundException('Static File Not Found: ' +
url_str)