-
Notifications
You must be signed in to change notification settings - Fork 323
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
No char escaping while write http path to DB #29
Comments
Writing to db you need something like DatabaseUtils.sqlEscapeString(String). But then have to convert that string back to normal http string =( but better to use selectionArgs |
@sough Thanks for catching this. Will fix and ship in next release. |
When you plan it? |
some time next week. |
This issue has been fixed and will make it in the next version of fetch. I will post another update in this thread. |
Version 1.1.1 has been pushed |
android.database.sqlite.SQLiteException: near "text": syntax error (code 1): , while compiling: INSERT INTO requests VALUES ( 5800091702000, 'http://ex.com/some'text.txt', '/storage/emulated/0/Download/id.txt', 900, '{}', 0, 0, -1, 600 )
The text was updated successfully, but these errors were encountered: