{"draft":null,"from":0,"to":1,"files":[{"path":"client/test/client.test.ts","added":4,"removed":0,"diff":"--- a/client/test/client.test.ts\n+++ b/client/test/client.test.ts\n@@ -1528,6 +1528,10 @@\n \t\t\tassert.equal(tokenGoesTo(bad), false, bad);\n \t\t}\n \t\tassert.equal(tokenGoesTo(\"https://mine.example\", \"https://other.example, https://mine.example\"), true);\n+\t\t// Off this machine only https: plain http would carry the token in clear text, trusted or not.\n+\t\tassert.equal(tokenGoesTo(\"http://example.com\", \"http://example.com\"), false);\n+\t\tassert.equal(tokenGoesTo(\"http://localhost:8787\"), true);\n+\t\tassert.equal(tokenGoesTo(\"http://127.0.0.1:8787\"), true);\n \t});\n \n \tit(\"trusts the servers this machine's servers.json names, and their Issues Workers, and nothing malformed\", () => {"}],"unmatched":[]}