datasette/datasette
Simon Willison 9fdb47ca95 New encode/decode_path_component functions
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"
2019-05-09 09:44:21 -07:00
..
publish Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
static ?_where= parameter on table views, closes #429 2019-04-12 18:37:22 -07:00
templates Extract facet code out into a new plugin hook, closes #427 (#445) 2019-05-02 17:11:26 -07:00
views Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
__init__.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
_version.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
app.py Fixed crash on /:memory: page 2019-05-05 14:01:14 -04:00
cli.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
facets.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
filters.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
hookspecs.py Pass view_name to extra_body_script hook (#443) 2019-05-03 09:12:19 -04:00
inspect.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
plugins.py datasette publish cloudrun (#434) - thanks, @rprimet 2019-05-03 09:59:01 -04:00
renderer.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00
tracer.py Added ?_trace=1 option to trace SQL 2019-04-20 22:34:34 -07:00
utils.py New encode/decode_path_component functions 2019-05-09 09:44:21 -07:00
version.py Apply black to everything, enforce via unit tests (#449) 2019-05-03 22:15:14 -04:00