-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
Backport 'Fix iframe disabling producing invalid HTML' to v0.26 #10764
Backport 'Fix iframe disabling producing invalid HTML' to v0.26 #10764
Conversation
* Change the method for iframe disabling * Fix the meeting embed code with the commented iframe approach * Different content sanitization for admins and participants In order to prevent participants entering iframes on the pages. * Mark admin sanitized content correctly in different cells * Revert back to the decidim_sanitize_editor method As the admin methods were changed accordingly. * Fix the user input scrubber specs * Add spec for the admin input scrubber * Fix the spec description * Add more specs to test the comments with the user input scrubber * Test that admin input scrubber allows disabled iframes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some redesign changes that were applied in this backport that need to be reverted.
The specs probably also need to be changed because all the tests may not be relevant for this 0.26 backport.
Suggested by code review
decidim-meetings/app/services/decidim/meetings/meeting_iframe_embedder.rb
Outdated
Show resolved
Hide resolved
The last spec is broken because the external domain link warning is broken because this will add the decidim/decidim-core/app/packs/src/decidim/external_domain_warning.js Lines 12 to 14 in 16be2f4
This was changed for I just opened the backport for that PR at #10806. This should fix the last broken spec. |
…bling-producing-9685
Great! I've just reviewed and merged it, and merged this branch with Also, thanks guys for taking care of this PR, I didn't have much time the past week to dedicate to this PR. |
🎩 What? Why?
Backport #9685 to v0.26