From e3dd2483bb78f3d4b80db6de5475ceb163155b80 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 24 Nov 2017 16:05:28 -0800 Subject: [PATCH] Fixed quoting on foreign-key links to tables with spaces in name --- datasette/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasette/app.py b/datasette/app.py index 82ea26fe..a6cfc29d 100644 --- a/datasette/app.py +++ b/datasette/app.py @@ -442,7 +442,7 @@ class RowTableShared(BaseView): '{label} {id}'.format( database=database, database_hash=database_hash, - table=escape_sqlite_table_name(other_table), + table=urllib.parse.quote_plus(other_table), id=value, label=label, )