You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/drivers/discord.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,3 +118,4 @@ If the file is absent or an emoji is not found, the token falls back to the Unic
118
118
119
119
- Bot messages are automatically ignored (webhook echoes are not re-bridged).
120
120
- Files are downloaded and re-uploaded via multipart form. If a file exceeds `max_file_size`, its URL is appended to the message text.
121
+
- For NapCat/QQ sources, an explicit `@self_id` mention is also converted into a Discord mention of the target bot account when bot identity is available.
Copy file name to clipboardExpand all lines: docs/drivers/napcat.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,8 +84,12 @@ Incoming messages are parsed from OneBot 11 segment arrays:
84
84
85
85
For merged-forward images, clicking the image now opens the bridge-rendered resource (`/asset/...`) in `url` mode, instead of jumping to the original QQ CDN URL. In `base64` mode, the page opens the image via a temporary blob URL without adding a duplicate base64 `href` payload.
86
86
87
+
For security hardening, merged-forward image embedding now only allows a safe MIME allowlist (JPEG/PNG/GIF/WebP/BMP/AVIF). Unsafe types (for example `text/html` or `image/svg+xml`) are blocked from inline rendering and shown as a placeholder link.
88
+
87
89
When merged-forward sender UID reliability cannot be confidently verified (including single-sender batches), NextBridge marks that sender as `UID 不可信` in the rendered header.
88
90
91
+
Even when UID is marked unreliable, the rendered header still displays the QQ number (with the `UID 不可信` tag) for manual verification.
92
+
89
93
::: info Merged-forward access control
90
94
Merged-forward links are plain paths and each page has its own TTL. When the timer runs out, the page stays on screen and switches to an expired state. If persistent storage is enabled, the page can still be opened again after a restart.
0 commit comments