Skip to content

Commit

Permalink
Use single quotes for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Oct 31, 2024
1 parent 8227a5a commit 39710d6
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 @@ -92,7 +92,7 @@ def validate_requested_file_path(self, static_dir, requested_path):
requested_path = Path(requested_path)

if static_dir.resolve() not in requested_path.resolve().parents:
raise PathValidationError("Requested path forbidden")
raise PathValidationError('Requested path forbidden')



0 comments on commit 39710d6

Please sign in to comment.