Closed (outdated)
Project:
Drupal core
Version:
8.1.x-dev
Component:
theme system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Aug 2015 at 08:12 UTC
Updated:
14 May 2016 at 15:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottComment #3
alexpottComment #4
dawehnerSo the reason that we need to escape here is that code in
_drupal_log_error()drupal_set_message(SafeMarkup::set($message), $class, TRUE);?I'm curious whether we could get rid of that SafeMarkup::set() call.
Comment #5
joelpittetRelating to #4 we touched that bit in this patch here #2501319: Remove SafeMarkup::set() in Error::renderExceptionSafe() and _drupal_log_error() and improve backtrace formatting consistency in _drupal_log_error(), Error::renderExceptionSafe(), and DefaultExceptionSubscriber::onHtml ()
Comment #7
lauriiidebug() is now using Html::escape() which has similar behavior as suggested on the patch. I think this issue has been fixed somewhere else already.