You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then Grafana OnCall receives alerts from alertmanager, it shows this alert in Slack and in the Web version (right in Grafana, "Home -> Alerts & IRM -> OnCall" page). For Web, I see special symbols like " instead of ". This is probably because of improper HTML escaping. For Slack, the message is looks perfect.
Example:
In Slack: ... metrics from "postgres-exporter-main" PostgreSQL ...
In Web: ... metrics from "postgres-exporter-main" PostgreSQL ...
MrEcco
changed the title
Web version incorrectly renders alert title and message
Web version incorrectly renders alert title and message (html escape)
Oct 19, 2023
What went wrong?
What happened:
Then Grafana OnCall receives alerts from alertmanager, it shows this alert in Slack and in the Web version (right in Grafana, "Home -> Alerts & IRM -> OnCall" page). For Web, I see special symbols like
"
instead of"
. This is probably because of improper HTML escaping. For Slack, the message is looks perfect.Example:
... metrics from "postgres-exporter-main" PostgreSQL ...
... metrics from "postgres-exporter-main" PostgreSQL ...
What did you expect to happen:
Just a correctly rendered message in the Web version, without escaped versions of symbols instead of the symbol itself.
How do we reproduce it?
&"<>
.annotation.title
to the title message (and/or description)Fire the alert
Check Web and Slack messages. Web version contains
"
in the places where"
should be presentGrafana OnCall Version
1.3.43 (grafana plugin), 1.3.42 (oncall instance)
Product Area
Alert Flow & Configuration, Other
Grafana OnCall Platform?
Kubernetes
User's Browser?
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Anything else to add?
Might be related to this: #3149
The text was updated successfully, but these errors were encountered: