[GH-ISSUE #1436] X-Icon / Icon header doesn't appear to be working? #1008

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

Originally created by @lingo on GitHub (Aug 26, 2025).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1436

Either via ntfy.sh or self-hosting, I find that the 'Icon' header no longer seems to be working for me, using the ntfy web client.

E.g.

user@host:~$ curl --header 'Icon: https://upload.wikimedia.org/wikipedia/commons/b/b5/Green_icon_-_Settings.ZGH.png' -d "Test"  https://ntfy.sh/github-issue-icon-header

Gives this response:

{"id":"cCK7TPfnlBPt","time":1756196408,"expires":1756239608,"event":"message","topic":"github-issue-icon-header","message":"Test","icon":"https://upload.wikimedia.org/wikipedia/commons/b/b5/Green_icon_-_Settings.ZGH.png"}

However, in the web client, I see this:

Image

I've tried this in different browsers, with the same result.

Is this a bug or am I misusing the feature?

Originally created by @lingo on GitHub (Aug 26, 2025). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1436 Either via ntfy.sh or self-hosting, I find that the 'Icon' header no longer seems to be working for me, using the ntfy web client. E.g. ``` user@host:~$ curl --header 'Icon: https://upload.wikimedia.org/wikipedia/commons/b/b5/Green_icon_-_Settings.ZGH.png' -d "Test" https://ntfy.sh/github-issue-icon-header ``` Gives this response: ```json {"id":"cCK7TPfnlBPt","time":1756196408,"expires":1756239608,"event":"message","topic":"github-issue-icon-header","message":"Test","icon":"https://upload.wikimedia.org/wikipedia/commons/b/b5/Green_icon_-_Settings.ZGH.png"} ``` However, in the web client, I see this: <img width="598" height="122" alt="Image" src="https://github.com/user-attachments/assets/480f85f5-57b1-4bf9-93f5-c5db85bfe82f" /> I've tried this in different browsers, with the same result. Is this a bug or am I misusing the feature?
Author
Owner

@lingo commented on GitHub (Aug 26, 2025):

PS, I don't see any CORS warnings in browser console, but this seems the most likely issue?
The NTFY documentation was a little lacking in this area about Icons

<!-- gh-comment-id:3223194919 --> @lingo commented on GitHub (Aug 26, 2025): PS, I don't see any CORS warnings in browser console, but this seems the most likely issue? The NTFY documentation was a little lacking in this area about Icons
Author
Owner

@wunter8 commented on GitHub (Aug 26, 2025):

Icons are only supported on the Android app right now, not on the web app

<!-- gh-comment-id:3223974319 --> @wunter8 commented on GitHub (Aug 26, 2025): Icons are only supported on the Android app right now, not on the web app
Author
Owner

@lingo commented on GitHub (Aug 26, 2025):

Ah, my apologies. I was looking for this information, but somehow missed it.

<!-- gh-comment-id:3224253678 --> @lingo commented on GitHub (Aug 26, 2025): Ah, my apologies. I was looking for this information, but somehow missed it.
Author
Owner

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

I am wondering if this makes sense to add to the web app as a feature?! CORS may almost certainly render this feature unusable in most cases, right?

<!-- gh-comment-id:3831379871 --> @binwiederhier commented on GitHub (Feb 1, 2026): I am wondering if this makes sense to add to the web app as a feature?! CORS may almost certainly render this feature unusable in most cases, right?
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#1008
No description provided.