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 @@ 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)