Tilde encoding now encodes space as plus, closes #1701

Refs #1657
This commit is contained in:
Simon Willison 2022-04-06 08:55:01 -07:00
commit 90d1be9952
4 changed files with 18 additions and 7 deletions

View file

@ -618,6 +618,7 @@ async def test_derive_named_parameters(sql, expected):
("-/db-/table.csv", "-~2Fdb-~2Ftable~2Ecsv"),
(r"%~-/", "~25~7E-~2F"),
("~25~7E~2D~2F", "~7E25~7E7E~7E2D~7E2F"),
("with space", "with+space"),
),
)
def test_tilde_encoding(original, expected):