Bug #15077
Error HTML tags are shown
Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Description
On some custom errors we show, the alert_header helper is escaping the HTML tags we put on the alert title.
Obviously these shouldn't be escaped.
Associated revisions
Fixes #15077 - Error HTML tags are shown
On some custom errors we show, the alert_header helper is escaping the
HTML tags we put on the alert title.
Obviously these shouldn't be escaped. Fix is as simple as marking the
string that puts the tags as html_safe
(cherry picked from commit 0300fadf46da1526fe428a2cdb7183b24b13605b)
History
#1
Updated by The Foreman Bot about 7 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman/pull/3532 added
#2
Updated by Daniel Lobato Garcia about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 0300fadf46da1526fe428a2cdb7183b24b13605b.
#3
Updated by Dominic Cleal about 7 years ago
- Legacy Backlogs Release (now unused) set to 159
Fixes #15077 - Error HTML tags are shown
On some custom errors we show, the alert_header helper is escaping the
HTML tags we put on the alert title.
http://imgur.com/cm6l5ZW
Obviously these shouldn't be escaped. Fix is as simple as marking the
string that puts the tags as html_safe