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.
_filter_xss_attributes is a bit hard to read because things aren't setup at the top but in the middle of the code.
This patch adds a sane default value for $skip.
Comment | File | Size | Author |
---|---|---|---|
#10 | xss-skip-default-1398044-10.patch | 481 bytes | bradwade |
#3 | drupal-skip_default-1398044-3.patch | 481 bytes | iStryker |
#1 | 1398044-skip-default.patch | 371 bytes | dawehner |
Comments
Comment #1
dawehnerSo here is the patch, it's definitive really minor.
Comment #2
iStryker CreditAttribution: iStryker commentedThis is a very old patch.
Patch is good and doesn't break anything.
Comment #3
iStryker CreditAttribution: iStryker commentedMay 28th, #1998466: Convert filter_xss_admin and similar function to an Xss component was committed which broke this patch. Re-rolling...
Comment #4
dawehnerCool.
Comment #6
dawehner#3: drupal-skip_default-1398044-3.patch queued for re-testing.
Comment #8
iStryker CreditAttribution: iStryker commented#3: drupal-skip_default-1398044-3.patch queued for re-testing.
Comment #9
bradwade CreditAttribution: bradwade commentedWill reroll
Comment #10
bradwade CreditAttribution: bradwade commentedRerolled #3
Comment #11
dawehner+1
Comment #12
webchickLooks good to me. Committed and pushed to 8.x. Thanks!