{"html_url": "https://github.com/simonw/datasette/issues/647#issuecomment-1061226942", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/647", "id": 1061226942, "node_id": "IC_kwDOBm6k_c4_QQm-", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-03-07T23:00:06Z", "updated_at": "2022-03-07T23:00:06Z", "author_association": "OWNER", "body": "This needs to take into account the changes made here:\r\n- #1439\r\n\r\nIn the new encoding scheme, `-` has a special meaning in a table name: https://docs.datasette.io/en/latest/internals.html#dash-encoding\r\n\r\nI think `~` is the right character to use to separate a database name from its hash. `~` should be a URL safe character according to Python's implementation of percent-encoding, see comment here: https://github.com/simonw/datasette/blob/c5791156d92615f25696ba93dae5bb2dcc192c98/datasette/utils/__init__.py#L1146-L1152\r\n\r\nSo the plugin could check for `dbname~hash` and react based on that.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 531755959, "label": "Move hashed URL mode out to a plugin"}, "performed_via_github_app": null}