-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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
Webhook is not working for the new line \n for RC 3.12.1 #21040
Comments
Script
|
but RC app for android is showing fine/okay, the problem for web browser and desktop app. |
Hi there, i confirm all. Since 3.12.1 community edition, \n in webhooks isnt honored in web and desktop app |
I can confirm this issue, it does work if it is wrapped in something like a code block. But not as plain text. |
I've updated to 3.13.1 and still the same issue. |
Emoji/Markdown rendering is broken as well |
v3.14.4 has the same issue |
@phuongnguyen2311 The |
|
Fixed in 3.17.0 |
@debdutdeb Sorry to say this, but this issue is not fixed with 3.17.0. New lines ( See these screenshots: |
Hmm - I'll take a look at this later today Fabian. I'll reopen the issue if it's still there. Whatever happens, I'll let you know 🙂 |
You can use this very simple test script to reproduce the problem:
The newlines in the attachment text will be replaced by spaces in the rendered output. |
Confirming- It's not fixed. Issue needs to be reopened. New lines are replaced with the spaces, which is wrong. |
Yeah, confirm, 3.17.0 this issue is not fixed |
@debdutdeb Any news? |
Hey Dumitru, thanks for the ping at open. Sorry for not being around for a while - a lot of stuff's been going around I'm sure you guys know about already. Anyway, reopning this, thanks. |
We are on version 3.18.2 and also getting this issue. All our newlines (\n) don't work |
It's really sad at the moment. They push their UI rework and spend zero time in fixing bugs they introduced themself.. I really hope they start to overthink their direction or they will loose a big part of the community in the next years. |
Version 4.6.3 has same issue with Windows App (v3.8.7) and via Web Browser Deployment |
Looks like it is related to this issue #22732 |
And according to these #24924 (comment) it's not a bug, but a feature (by design). I'm not agree with that for sure! |
Description:
Steps to reproduce:
Expected behavior:
Actual behavior:
Server Setup Information:
Client Setup Information
Additional context
Today when my RC server has been updated i got this issue.
I have Zabbix Server and sending notification via webhooks to the channel and after the last update from v3.10.5 to 3.12.1 i got this issue.
was
now
Message what am sending to
[{TRIGGER.NAME} ({TRIGGER.SEVERITY})](https://zabbix.example.com/events.php?triggerid={TRIGGER.ID}&filter_set=1)\nDate: {EVENT.DATE} {EVENT.TIME}\nLatest value: {ITEM.VALUE1}
for example
@username 'PROBLEM' 'This is a test of something being wrong!\n123'
the message is like that
PROBLEM: This is a test of something being wrong!123
but RC app for android is showing fine/okay, the problem for web browser and desktop app.
Relevant logs:
The text was updated successfully, but these errors were encountered: