mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fix bug with percentage redirects, close #1650
This commit is contained in:
parent
020effe47b
commit
c85d669de3
2 changed files with 10 additions and 1 deletions
|
|
@ -961,6 +961,10 @@ def test_no_alternate_url_json(app_client, path):
|
|||
"/fivethirtyeight/twitter-ratio%2Fsenators",
|
||||
"/fivethirtyeight/twitter-2Dratio-2Fsenators",
|
||||
),
|
||||
(
|
||||
"/fixtures/table%2Fwith%2Fslashes",
|
||||
"/fixtures/table-2Fwith-2Fslashes",
|
||||
),
|
||||
# query string should be preserved
|
||||
("/foo/bar%2Fbaz?id=5", "/foo/bar-2Fbaz?id=5"),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue