mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
Fix validation
This commit is contained in:
parent
839694f70f
commit
a5a5d1c6d3
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user