Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If at least one "security filter" has been selected for a profile, then all of them are applied. Consequently, you can end up with really messed up content showing up in the editor after the AJAX call to "ckeditor/xss".
In our case, we have the Messaging module installed, which provides a filter to convert HTML to plain text. We have only the "HTML filter" filter enabled for one profile, but because of this bug, the filter from Messaging also gets applied and so the content for any CKEditor field gets stripped of all HTML formatting.
So far as I know, this is limited to the D6 codeline.
Comment | File | Size | Author |
---|---|---|---|
#1 | 0001-1491462-all-filters-applied.patch | 450 bytes | kevin.dutra |
Comments
Comment #1
kevin.dutra CreditAttribution: kevin.dutra commentedHere is a patch to solve this.
Comment #2
kevin.dutra CreditAttribution: kevin.dutra commentedComment #3
dczepierga CreditAttribution: dczepierga commented@kevin.dutra, really thx for your patch and review. We lose this in one of the patches and i don't know why...
I commit it to GIT (diff)
Comment #4
kevin.dutra CreditAttribution: kevin.dutra commentedYou're welcome, and thank you for the quick turnaround on this. Do you have an idea of when you might release 6.x-1.11?
Comment #5
mkesicki CreditAttribution: mkesicki commented@kevin.dutra the next release will be as soon as possible. For now please use DEV version or your patch.
Comment #6
kevin.dutra CreditAttribution: kevin.dutra commentedCool, thanks!
Comment #7
mkesicki CreditAttribution: mkesicki commented