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
Creating a data template for an outgoing webhook with unicode characters in the data results in them being rendered as //u0000 instead of the actual character. The character displays correctly in the last events/ custom payload area.
What did you expect to happen:
The characters should be rendered the same as in the event.
How do we reproduce it?
Open Grafana OnCall navigate to Outgoing Webhooks
Create a new Advanced Webhook and open the editor for a templated field such as Data
Choose use a custom payload, add the following payload
Rendering unicode characters works correctly for templates on integrations. Likely cause is somewhere there is a difference between the preview_template endpoints for integrations and webhooks.
The text was updated successfully, but these errors were encountered:
# What this PR does
Fixes escaping for unicode characters in webhooks.
## Which issue(s) this PR fixes#3149
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
# What this PR does
Fixes escaping for unicode characters in webhooks.
## Which issue(s) this PR fixes#3149
## Checklist
- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
What went wrong?
What happened:
//u0000
instead of the actual character. The character displays correctly in the last events/ custom payload area.What did you expect to happen:
How do we reproduce it?
Grafana OnCall Version
v1.3.43
Product Area
Alert Flow & Configuration
Grafana OnCall Platform?
None
User's Browser?
No response
Anything else to add?
Rendering unicode characters works correctly for templates on integrations. Likely cause is somewhere there is a difference between the preview_template endpoints for integrations and webhooks.
The text was updated successfully, but these errors were encountered: