Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification: sanetized style fix #1529

Merged
merged 2 commits into from
Dec 11, 2024

Conversation

bartbutenaers
Copy link
Contributor

Description

See bug report and example flow in this Discourse question.

The solution is simply to tell DOMpurify that script tags are allowed. Then it looks better to me:

image

Of course this opens again some backdoors for possible CSS injection. Unfortunately I cannot do much about that...

Related Issue(s)

None

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production

Labels

  • Includes a DB migration? -> add the area:migration label

@joepavitt joepavitt merged commit 23e82cd into FlowFuse:main Dec 11, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants