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:
parent
071749541f
commit
41dccf8fe3
@ -41,11 +41,11 @@ class StaticHandler(object):
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user