[GH-ISSUE #1511] Ampersand character & is replaced with \u0026 #1067

Open
opened 2026-05-07 00:30:00 +02:00 by BreizhHardware · 0 comments

Originally created by @defencedog on GitHub (Dec 7, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1511

Question

I am sending this URL https://drive.google.com/thumbnail?id=1kCU5ThTEnbk3ltqs_TFBZVKUFYiZ3l5C&sz=w1000 but my journalctl reports this final output

{"id":"CmxIRVnmeowd","time":1765128847,"expires":1765172047,"event":"message","topic":"hometr","message":"Human detected","tags":["rotating_light"],"attachment":{"name":"thumbnail","url":"https://drive.google.com/thumbnail?id=1QLk2zPn27AMJdbg2KxQ0RBVUx0dPrUuh\u0026sz=w1000"}}

As you can see the character & is replaced with \u0026

How can I avoid this?

Originally created by @defencedog on GitHub (Dec 7, 2025). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1511 <!-- Before you submit, consider asking on Discord/Matrix instead. You'll usually get an answer sooner, and there are more people there to help! - Discord: https://discord.gg/cT7ECsZj9w - Matrix: https://matrix.to/#/#ntfy:matrix.org / https://matrix.to/#/#ntfy-space:matrix.org --> :question: **Question** <!-- Go ahead and ask your question here :) --> I am sending this URL `https://drive.google.com/thumbnail?id=1kCU5ThTEnbk3ltqs_TFBZVKUFYiZ3l5C&sz=w1000` but my `journalctl` reports this final output ``` {"id":"CmxIRVnmeowd","time":1765128847,"expires":1765172047,"event":"message","topic":"hometr","message":"Human detected","tags":["rotating_light"],"attachment":{"name":"thumbnail","url":"https://drive.google.com/thumbnail?id=1QLk2zPn27AMJdbg2KxQ0RBVUx0dPrUuh\u0026sz=w1000"}} ``` As you can see the character `&` is replaced with `\u0026` How can I avoid this?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#1067
No description provided.