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
;; Comma separated list of enabled emojis, for example: smile, thumbsup, thumbsdown
1347
+
;; Leave it empty to enable all emojis.
1348
+
;ENABLED_EMOJIS =
1349
+
;;
1346
1350
;; Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used.
1347
1351
;DEFAULT_SHOW_FULL_NAME = false
1348
1352
;;
@@ -2536,7 +2540,19 @@ LEVEL = Info
2536
2540
;; * sanitized: Sanitize the content and render it inside current page, default to only allow a few HTML tags and attributes. Customized sanitizer rules can be defined in [markup.sanitizer.*] .
2537
2541
;; * no-sanitizer: Disable the sanitizer and render the content inside current page. It's **insecure** and may lead to XSS attack if the content contains malicious code.
2538
2542
;; * iframe: Render the content in a separate standalone page and embed it into current page by iframe. The iframe is in sandbox mode with same-origin disabled, and the JS code are safely isolated from parent page.
2539
-
;RENDER_CONTENT_MODE=sanitized
2543
+
;RENDER_CONTENT_MODE = sanitized
2544
+
;; The sandbox applied to the iframe and Content-Security-Policy header when RENDER_CONTENT_MODE is `iframe`.
2545
+
;; It defaults to a safe set of "allow-*" restrictions (space separated).
2546
+
;; You can also set it by your requirements or use "disabled" to disable the sandbox completely.
2547
+
;; When set it, make sure there is no security risk:
2548
+
;; * PDF-only content: generally safe to use "disabled", and it needs to be "disabled" because PDF only renders with no sandbox.
2549
+
;; * HTML content with JS: if the "RENDER_COMMAND" can guarantee there is no XSS, then it is safe, otherwise, you need to fine tune the "allow-*" restrictions.
2550
+
;RENDER_CONTENT_SANDBOX =
2551
+
;; Whether post-process the rendered HTML content, including:
0 commit comments