Skip to content

Commit

Permalink
Comment out validation to rule out broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Nov 5, 2024
1 parent 0717495 commit 41dccf8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pywb/apps/static_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ def __call__(self, environ, url_str):
static_path_to_validate = os.path.abspath(self.static_path)
full_path = os.path.join(self.static_path, url)

try:
validate_requested_file_path(static_path_to_validate, url)
except ValueError:
raise NotFoundException('Static File Not Found: ' +
url_str)
# try:
# validate_requested_file_path(static_path_to_validate, url)
# except ValueError:
# raise NotFoundException('Static File Not Found: ' +
# url_str)

try:
data = self.block_loader.load(full_path)
Expand Down

0 comments on commit 41dccf8

Please sign in to comment.