From a5a5d1c6d3d0f1cd32bd2fa816151910b9228c0e Mon Sep 17 00:00:00 2001 From: Tessa Walsh Date: Tue, 5 Nov 2024 11:34:20 -0500 Subject: [PATCH] Fix validation --- pywb/apps/static_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pywb/apps/static_handler.py b/pywb/apps/static_handler.py index 86e6fe39..1bb0b632 100644 --- a/pywb/apps/static_handler.py +++ b/pywb/apps/static_handler.py @@ -42,7 +42,7 @@ def __call__(self, environ, url_str): 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)