mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed quoting on foreign-key links to tables with spaces in name
This commit is contained in:
parent
c5c923d93c
commit
e3dd2483bb
1 changed files with 1 additions and 1 deletions
|
|
@ -442,7 +442,7 @@ class RowTableShared(BaseView):
|
||||||
'<a href="/{database}-{database_hash}/{table}/{id}">{label}</a> <em>{id}</em>'.format(
|
'<a href="/{database}-{database_hash}/{table}/{id}">{label}</a> <em>{id}</em>'.format(
|
||||||
database=database,
|
database=database,
|
||||||
database_hash=database_hash,
|
database_hash=database_hash,
|
||||||
table=escape_sqlite_table_name(other_table),
|
table=urllib.parse.quote_plus(other_table),
|
||||||
id=value,
|
id=value,
|
||||||
label=label,
|
label=label,
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue