Skip to content

Commit

Permalink
Fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Nov 5, 2024
1 parent 839694f commit a5a5d1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywb/apps/static_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a5a5d1c

Please sign in to comment.