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

fix(editor): Set dangerouslyUseHTMLString in composable #12280

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

r00gm
Copy link
Contributor

@r00gm r00gm commented Dec 18, 2024

Summary

in this PR we missed adding this flag to the composable

there is no risk to XSS atach since that composable is already sanitising everything

Related Linear tickets, Github issues, and Community forum posts

PAY-2395

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@r00gm r00gm changed the title fix(editor): set dangerouslyUseHTMLString in composable fix(editor): Set dangerouslyUseHTMLString in composable Dec 18, 2024
Copy link

cypress bot commented Dec 18, 2024

n8n    Run #8393

Run Properties:  status check passed Passed #8393  •  git commit a2e3041c41: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 r00gm 🗃️ e2e/*
Project n8n
Branch Review pay-2395-html-in-workflow-was-changed-modal
Run status status check passed Passed #8393
Run duration 04m 34s
Commit git commit a2e3041c41: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 r00gm 🗃️ e2e/*
Committer r00gm
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 2
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 481
View all changes introduced in this branch ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Dec 18, 2024
Copy link

codecov bot commented Dec 18, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
packages/editor-ui/src/composables/useMessage.ts 33.33% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@r00gm r00gm merged commit 6ba91b5 into master Dec 18, 2024
38 checks passed
@r00gm r00gm deleted the pay-2395-html-in-workflow-was-changed-modal branch December 18, 2024 11:24
@github-actions github-actions bot mentioned this pull request Dec 19, 2024
@janober
Copy link
Member

janober commented Dec 19, 2024

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants