{"html_url": "https://github.com/simonw/datasette/issues/402#issuecomment-455223551", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/402", "id": 455223551, "node_id": "MDEyOklzc3VlQ29tbWVudDQ1NTIyMzU1MQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-01-17T15:55:06Z", "updated_at": "2019-01-17T15:55:06Z", "author_association": "OWNER", "body": "It's new in SQLite 3.26.0 so I will need to figure out how to only apply it in that version or higher. \r\n\r\nhttps://sqlite.org/releaselog/3_26_0.html", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 400340905, "label": "Use SQLITE_DBCONFIG_DEFENSIVE plus other recommendations from SQLite security docs"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/402#issuecomment-455224327", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/402", "id": 455224327, "node_id": "MDEyOklzc3VlQ29tbWVudDQ1NTIyNDMyNw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-01-17T15:56:57Z", "updated_at": "2019-01-17T15:56:57Z", "author_association": "OWNER", "body": "https://sqlite.org/security.html has other recommmendations for apps that accept SQLite files from untrusted sources that we should apply.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 400340905, "label": "Use SQLITE_DBCONFIG_DEFENSIVE plus other recommendations from SQLite security docs"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/401#issuecomment-455230501", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/401", "id": 455230501, "node_id": "MDEyOklzc3VlQ29tbWVudDQ1NTIzMDUwMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-01-17T16:12:59Z", "updated_at": "2019-01-17T16:12:59Z", "author_association": "OWNER", "body": "Datasette-cluster-map doesn't use the new plugin configuration mechanism yet - it really should!\r\n\r\nThe best example of how to use this mechanism right now is embedded in the Datasette unit tests: \r\n\r\nhttps://github.com/simonw/datasette/blob/b7257a21bf3dfa7353980f343c83a616da44daa7/tests/fixtures.py#L266-L270\r\n\r\nhttps://github.com/simonw/datasette/blob/b7257a21bf3dfa7353980f343c83a616da44daa7/tests/test_plugins.py#L139-L145", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 400229984, "label": "How to pass configuration to plugins?"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/402#issuecomment-455231411", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/402", "id": 455231411, "node_id": "MDEyOklzc3VlQ29tbWVudDQ1NTIzMTQxMQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-01-17T16:15:21Z", "updated_at": "2019-01-17T16:15:21Z", "author_association": "OWNER", "body": "Unfortunately it looks like there isn't currently a mechanism in the Python sqlite3 library for setting configuration flags like SQLITE_DBCONFIG_DEFENSIVE", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 400340905, "label": "Use SQLITE_DBCONFIG_DEFENSIVE plus other recommendations from SQLite security docs"}, "performed_via_github_app": null}