)]}'
{
  "commit": "4855a315fa9ce5e06680a0230ac6fe68846a4b76",
  "tree": "f2248c441894bab026b4b599cbea481bc1997d9b",
  "parents": [
    "36fbb6f4fa46df255c64821ddab7b1c02477b736"
  ],
  "author": {
    "name": "Michael Goderbauer",
    "email": "goderbauer@google.com",
    "time": "Thu Aug 27 00:06:44 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Aug 26 15:06:44 2026 -0700"
  },
  "message": "Fix WebSocket protocol upgrade in DWDS injected client  (#2868)\n\nFixes an issue where WebSocket URLs were not upgraded from ws:// to wss:// when the application is served over HTTPS (window.location.protocol \u003d\u003d \u0027https:\u0027) on non-localhost hosts.\n\nPreviously, _fixProtocol checked `window.location.protocol \u003d\u003d \u0027wss:\u0027`, which is never true for browser pages, leaving ws:// connections unchanged and causing mixed-content blocking in browsers.\n\nExtracts the logic into an internal utility function `fixProtocol` and adds unit tests.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "a91b7be58a9b6a01bfebd60a6309ac27c383c2c4",
      "old_mode": 33188,
      "old_path": "dwds/CHANGELOG.md",
      "new_id": "051fe13cc482ccf84f55eaf08e19166b67235aae",
      "new_mode": 33188,
      "new_path": "dwds/CHANGELOG.md"
    },
    {
      "type": "modify",
      "old_id": "78ae20d65d199caf6612f26b6eb8ba4099fbf7ec",
      "old_mode": 33188,
      "old_path": "dwds/lib/src/handlers/injected_client_js.dart",
      "new_id": "f7a6697939cd4f589c0cd1412dd695feb71cdcd7",
      "new_mode": 33188,
      "new_path": "dwds/lib/src/handlers/injected_client_js.dart"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "80922bfb5f3ca06ed8ca351bac5735cf7bbe7469",
      "new_mode": 33188,
      "new_path": "dwds/lib/src/utilities/fix_protocol.dart"
    },
    {
      "type": "modify",
      "old_id": "7a70c983c378c509eec073a966fd28e0afcb91c9",
      "old_mode": 33188,
      "old_path": "dwds/lib/src/version.dart",
      "new_id": "371719226f7af4e92bcb0b4d7c51c742a30c43d3",
      "new_mode": 33188,
      "new_path": "dwds/lib/src/version.dart"
    },
    {
      "type": "modify",
      "old_id": "42a1b307cb03c9aea6a234fad26b1a11efd6eeaa",
      "old_mode": 33188,
      "old_path": "dwds/pubspec.yaml",
      "new_id": "b0f062d7626198b15df4d0146574de1f349df970",
      "new_mode": 33188,
      "new_path": "dwds/pubspec.yaml"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "99764f524298b9bf68f2bfb07bc2b81d2ae228f6",
      "new_mode": 33188,
      "new_path": "dwds/test/utilities/fix_protocol_test.dart"
    },
    {
      "type": "modify",
      "old_id": "89a91b8409e76423cd44fc074a67908165480414",
      "old_mode": 33188,
      "old_path": "dwds/web/client.dart",
      "new_id": "601f47c578805cd4c0d2d26f9323453410631773",
      "new_mode": 33188,
      "new_path": "dwds/web/client.dart"
    }
  ]
}
