{"html_url": "https://github.com/simonw/datasette/issues/597#issuecomment-543900283", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/597", "id": 543900283, "node_id": "MDEyOklzc3VlQ29tbWVudDU0MzkwMDI4Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-10-18T19:25:57Z", "updated_at": "2019-10-18T19:27:06Z", "author_association": "OWNER", "body": "I'm suspicious of this code here:\r\nhttps://github.com/simonw/datasette/blob/b6ad1fdc7068cb8248787843e7438d1f19fa2e3a/datasette/views/base.py#L193-L205", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 508070977, "label": "If you have databases called foo.db and foo-bar.db you cannot visit /foo-bar"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/597#issuecomment-543389950", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/597", "id": 543389950, "node_id": "MDEyOklzc3VlQ29tbWVudDU0MzM4OTk1MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-10-17T22:37:41Z", "updated_at": "2019-10-17T22:37:41Z", "author_association": "OWNER", "body": "Aha! It turns out my attempt to replicate the bug DID work:\r\n\r\nhttps://datasette-issue-597.now.sh/foo-bar\r\n\r\n\"foo\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 508070977, "label": "If you have databases called foo.db and foo-bar.db you cannot visit /foo-bar"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/597#issuecomment-543389140", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/597", "id": 543389140, "node_id": "MDEyOklzc3VlQ29tbWVudDU0MzM4OTE0MA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-10-17T22:34:57Z", "updated_at": "2019-10-17T22:34:57Z", "author_association": "OWNER", "body": "I've managed to replicate the bug again in my private instance, using databases called `twitter.db` and `twitter-bug.db`. When I visit `/twitter-bug` I see (but I am not redirected to) the `/twitter` page.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 508070977, "label": "If you have databases called foo.db and foo-bar.db you cannot visit /foo-bar"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/597#issuecomment-542872388", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/597", "id": 542872388, "node_id": "MDEyOklzc3VlQ29tbWVudDU0Mjg3MjM4OA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-10-16T20:13:38Z", "updated_at": "2019-10-16T20:13:38Z", "author_association": "OWNER", "body": "I encountered this bug in my own private instance of Datasette running behind an nginx proxy.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 508070977, "label": "If you have databases called foo.db and foo-bar.db you cannot visit /foo-bar"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/597#issuecomment-542872267", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/597", "id": 542872267, "node_id": "MDEyOklzc3VlQ29tbWVudDU0Mjg3MjI2Nw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-10-16T20:13:21Z", "updated_at": "2019-10-16T20:13:21Z", "author_association": "OWNER", "body": "```\r\n$ echo '{\"hello\": \"world\"}' | sqlite-utils insert foo.db hello -\r\n$ echo '{\"hello\": \"world\"}' | sqlite-utils insert foo-bar.db hello -\r\n$ datasette publish now \\\r\n --about_url=https://github.com/simonw/datasette/issues/597 \\\r\n --title=\"Issue #597\" \\\r\n --alias=datasette-issue-597 \\\r\n foo.db foo-bar.db\r\n```\r\nThis failed to replicate the issue. https://datasette-issue-597.now.sh/ is working as it should.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 508070977, "label": "If you have databases called foo.db and foo-bar.db you cannot visit /foo-bar"}, "performed_via_github_app": null}