mirror of
https://github.com/open-webui/docs.git
synced 2026-11-05 01:38:13 +00:00
[PR #1249] [CLOSED] Document artifact CSP support #1237
Labels
No labels
bug
documentation
documentation
duplicate
enhancement
enhancement
good first issue
good first issue
good first issue
help wanted
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/docs#1237
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/docs/pull/1249
Author: @michaellrowley
Created: 5/9/2026
Status: ❌ Closed
Base:
dev← Head:copilot/add-documentation-for-changes📝 Commits (2)
87f3d05Merge pull request #1247 from open-webui/dev48513ccDocument artifact CSP support📊 Changes
3 files changed (+47 additions, -0 deletions)
View changed files
📝
docs/features/chat-conversations/chat-features/code-execution/artifacts.md(+34 -0)📝
docs/getting-started/advanced-topics/hardening.md(+6 -0)📝
docs/reference/env-configuration.mdx(+7 -0)📄 Description
This pull request adds support for configuring a dedicated Content Security Policy (CSP) for artifact HTML previews in Open WebUI, allowing admins to restrict what generated artifact content can load or execute without affecting the main app's CSP. The documentation has been updated to explain this new option, how to configure it, and troubleshooting steps if CSP settings break artifact previews.
Artifact CSP support and documentation:
artifacts.mdexplaining how to secure artifact previews with a dedicated CSP, including admin panel and environment variable configuration, default behavior, and practical usage tips.hardening.mdto clarify that artifact previews can use a separate CSP (ARTIFACT_CONTENT_SECURITY_POLICY) from the main app, with a reference to the relevant documentation.ARTIFACT_CONTENT_SECURITY_POLICYenvironment variable inenv-configuration.mdx, including its type, default, description, and persistence details.https://github.com/open-webui/open-webui/pull/24512
https://github.com/open-webui/open-webui/discussions/13684
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.