Vulnerability Type: Open Redirect Issue Number: 2429 (Referenced in PR #2500) Commit ID: f257ca6 Commit Author: jamesjefferies Commit Date: 4 days ago Commit Message: Fix for open redirect - identified in Issue 2429 (#2500) Commit Description: - Issue 2429 indicated the possibility of an open redirect. - The 404 processing ended up redirecting a request with multiple leading slashes incorrectly. - Example: redirects to . - The commit uses a regular expression to remove the multiple leading slashes before redirecting. Files Changed: - datasette/app.py: Added code to handle and remove multiple leading slashes to prevent open redirects. - tests/test_custom_pages.py: Added a test case to ensure that custom route patterns with multiple slashes are properly handled and do not result in an open redirect.