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

Comment out validation to rule out broken tests

This commit is contained in:
Tessa Walsh 2024-11-05 12:06:18 -05:00
parent 071749541f
commit 41dccf8fe3

View File

@ -41,11 +41,11 @@ class StaticHandler(object):
static_path_to_validate = os.path.abspath(self.static_path) static_path_to_validate = os.path.abspath(self.static_path)
full_path = os.path.join(self.static_path, url) full_path = os.path.join(self.static_path, url)
try: # try:
validate_requested_file_path(static_path_to_validate, url) # validate_requested_file_path(static_path_to_validate, url)
except ValueError: # except ValueError:
raise NotFoundException('Static File Not Found: ' + # raise NotFoundException('Static File Not Found: ' +
url_str) # url_str)
try: try:
data = self.block_loader.load(full_path) data = self.block_loader.load(full_path)