mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
_search= queries now correctly escaped, fixes #651
Queries with reserved words or characters according to the SQLite
FTS5 query language could cause errors.
Queries are now escaped like so:
dog cat => "dog" "cat"
This commit is contained in:
parent
59e7014c8a
commit
3c861f363d
6 changed files with 47 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ DEFAULT_PLUGINS = (
|
|||
"datasette.publish.now",
|
||||
"datasette.publish.cloudrun",
|
||||
"datasette.facets",
|
||||
"datasette.sql_functions",
|
||||
)
|
||||
|
||||
pm = pluggy.PluginManager("datasette")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue