Once #2506581: Remove SafeMarkup::set() from Renderer::doRender is in, we can remove the deprecated function SafeMarkup::checkAdminXss().
Beta phase evaluation
| Issue category | Task. Work must be done to remove the deprecated checkAdminXss method before 8.0.0 release. |
|---|---|
| Issue priority | Normal. Drupal 8 still works with this deprecated function still in place. |
| Prioritized changes | The main goal of this issue is removing the already deprecated checkAdminXss method for 8.0.0. |
| Disruption | Disruptive for core/contributed and custom modules/themes because it will require a BC break/deprecation/data model changes/an upgrade path/internal refactoring/widespread changes... (Which? Specify.) |
| Comment | File | Size | Author |
|---|---|---|---|
| remove-safemarkup-checkadminxss.patch | 1.71 KB | jeroent |
Comments
Comment #1
jeroent#2506581: Remove SafeMarkup::set() from Renderer::doRender is in.
Comment #2
dawehnerLooks perfect
Comment #3
mile23RTBC +1. checkAdminXss() isn't used anywhere.
Comment #4
alexpottThe deprecation of this method was discussed at length in #2506581: Remove SafeMarkup::set() from Renderer::doRender. @David_Rothstein had some reservations about whether we should keep this. However, given the time passed since that was committed and the number of SafeMarkup issues being worked on I think it is okay to proceed with removal. Less SafeMarkup::methods() make it easier to use. Committed 2053325 and pushed to 8.0.x. Thanks!
Comment #6
David_Rothstein commentedFor the record, I'm very on board with removing this (see my second comment on the issue); at one point I may have suggested keeping it temporarily while it was still being used in core, but overall wanted to remove it since it's confusing and also because I wanted to do #2531560: Add SafeMarkup::xssFilterAdmin() instead. But now I need to go figure out what the current status of that issue is since other things have changed since then...