[GH-ISSUE #970] Tags with value containing a comma are not returned properly #680

Closed
opened 2026-05-07 00:26:32 +02:00 by BreizhHardware · 1 comment

Originally created by @tka85 on GitHub (Dec 1, 2023).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/970

🐞 Describe the bug
Tags not returned correctly from server if a tag contained a comma ,. Tags in sqlite3 are stored as TEXT and it seems the value gets split by ,. So for example if the POSTed data has a tag containing a , in the server response it appears as two tags.

💻 Components impacted
Doing curl https://<ntfy_server>/<topic>/json?poll=1&since=<mid>. In the returned NDJSON the tags[] has two separate tags 360 and 00 instead of a single tag 360,00 that was initially POSTed.

💡 Screenshots and/or logs

🔮 Additional context

Originally created by @tka85 on GitHub (Dec 1, 2023). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/970 :lady_beetle: **Describe the bug** Tags not returned correctly from server if a tag contained a comma `,`. Tags in sqlite3 are stored as TEXT and it seems the value gets split by `,`. So for example if the POSTed data has a tag containing a `,` in the server response it appears as two tags. :computer: **Components impacted** Doing `curl https://<ntfy_server>/<topic>/json?poll=1&since=<mid>`. In the returned NDJSON the `tags[]` has two separate tags `360` and `00` instead of a single tag `360,00` that was initially POSTed. :bulb: **Screenshots and/or logs** :crystal_ball: **Additional context**
BreizhHardware 2026-05-07 00:26:32 +02:00
  • closed this issue
  • added the
    🪲 bug
    label
Author
Owner

@binwiederhier commented on GitHub (Feb 2, 2026):

Tags cannot contain commas. This is by design, not a bug.

<!-- gh-comment-id:3832713628 --> @binwiederhier commented on GitHub (Feb 2, 2026): Tags cannot contain commas. This is by design, not a bug.
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#680
No description provided.