qwen-code/packages/channels/weixin/src
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
..
accounts.ts feat(channels): add WeChat/Weixin channel support 2026-03-25 06:54:51 +00:00
api.ts fix(weixin): add missing iLink headers to QR code login and clean up error output (#3044) 2026-04-10 11:36:02 +08:00
index.ts feat(channels): add ChannelPlugin interface and registry-based factory 2026-03-26 12:34:31 +00:00
login.ts fix(weixin): add missing iLink headers to QR code login and clean up error output (#3044) 2026-04-10 11:36:02 +08:00
media.test.ts test(channels): add comprehensive test suites for channel adapters 2026-03-27 15:26:39 +00:00
media.ts feat(channels): add multimodal support with image handling 2026-03-25 07:43:48 +00:00
monitor.ts fix(channels): address PR review — security, bugs, and reliability 2026-03-31 00:57:59 +00:00
send.test.ts test(channels): add comprehensive test suites for channel adapters 2026-03-27 15:26:39 +00:00
send.ts feat(channels): add WeChat/Weixin channel support 2026-03-25 06:54:51 +00:00
types.ts feat(channels): add reply context support for referenced messages 2026-03-26 03:34:16 +00:00
WeixinAdapter.ts fix(weixin): check full 4-byte PNG magic signature (#2970) 2026-04-18 09:32:58 +08:00