qwen-code/packages/channels/weixin
chinesepowered 9a420d0fce
fix(weixin): check full 4-byte PNG magic signature (#2970)
PNG's magic bytes are 89 50 4E 47, but detectImageMime only checked
the first three. The WebP branch in the same function correctly checks
all four bytes of its signature — the PNG path was clearly an oversight.
Extend the PNG check to include 0x47 ('G') for consistency and to
eliminate the (admittedly rare) false-positive window.
2026-04-18 09:32:58 +08:00
..
src fix(weixin): check full 4-byte PNG magic signature (#2970) 2026-04-18 09:32:58 +08:00
package.json chore(release): bump version to 0.14.5 (#3298) 2026-04-15 22:43:29 +08:00
tsconfig.json test(channels): add comprehensive test suites for channel adapters 2026-03-27 15:26:39 +00:00
vitest.config.ts test(channels): add comprehensive test suites for channel adapters 2026-03-27 15:26:39 +00:00