mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
ASGI cannot differentiate between / and %2F in a URL, so we need an
alternative scheme for encoding the names of tables that contain special
characters such as /
For background, see
https://github.com/django/asgiref/issues/51#issuecomment-450603464
Some examples:
"table/and/slashes" => "tableU+002FandU+002Fslashes"
"~table" => "U+007Etable"
"+bobcats!" => "U+002Bbobcats!"
"U+007Etable" => "UU+002B007Etable"
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| fixtures.py | ||
| test_api.py | ||
| test_black.py | ||
| test_csv.py | ||
| test_docs.py | ||
| test_facets.py | ||
| test_filters.py | ||
| test_html.py | ||
| test_inspect.py | ||
| test_plugins.py | ||
| test_publish_cloudrun.py | ||
| test_publish_heroku.py | ||
| test_publish_now.py | ||
| test_utils.py | ||
| utils.py | ||