-
-
Notifications
You must be signed in to change notification settings - Fork 695
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table names containing single quotes break things #1257
Labels
Comments
Created a test database like this:
|
I tried and failed to get this fix working for tables with double quotes in their name - I couldn't figure out what the double-quote-in-a-table-name version of this code would look like: datasette/datasette/utils/__init__.py Lines 538 to 548 in 807de37
|
simonw
added a commit
that referenced
this issue
Jun 2, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g. I found a table called
Yesterday's ELRs by County
It threw an error inside the
detect_fts()
function attempting to run this SQL query:Here's the code at fault:
datasette/datasette/utils/__init__.py
Lines 534 to 548 in 640ac70
The text was updated successfully, but these errors were encountered: