Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON format in alert body is unintentionally escaped and broken when using alert template macro #7310

Open
takanau opened this issue Feb 5, 2025 · 1 comment

Comments

@takanau
Copy link

takanau commented Feb 5, 2025

Issue Summary

When using alert template macro (ex: {{QUERY_RESULT_ROWS}}, cf) in alert body, the result is HTML escaped and its JSON format is broken like this:

[{'column': 1}]

Steps to Reproduce

When rendering alert template, mustache_render should be used, not mustache_render_escape.

Technical details:

  • Redash Version: 24.12.0-dev

I guess this problem caused by #5996 (Version: 23.09.0)

@perceptron01
Copy link

perceptron01 commented Mar 12, 2025

I'm also encountering this issue when trying to send alert messages to Slack.
This appears to be related to the issue reported in #7362

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants