[GH-ISSUE #370] Trailing slash in base URL matters #285

Closed
opened 2026-05-07 00:22:37 +02:00 by BreizhHardware · 2 comments

Originally created by @tfheen on GitHub (Jul 25, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/370

In my iOS app, I have https://example.com set as the base URL for my own server, in the --base-url, I had https://example.com/. It seems like there is no URL normalisation going on, which led to notifications not happening immediately (I presume due to the sha-ing of the ntfy.sh notification channel leading to different results).

It would be useful if the URLs were treated the same instead.

Originally created by @tfheen on GitHub (Jul 25, 2022). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/370 In my iOS app, I have https://example.com set as the base URL for my own server, in the `--base-url`, I had https://example.com/. It seems like there is no URL normalisation going on, which led to notifications not happening immediately (I presume due to the sha-ing of the ntfy.sh notification channel leading to different results). It would be useful if the URLs were treated the same instead.
BreizhHardware 2026-05-07 00:22:37 +02:00
Author
Owner

@binwiederhier commented on GitHub (Jul 26, 2022):

It would be useful if the URLs were treated the same instead.

Agreed. Should be easy to fix.

<!-- gh-comment-id:1196103965 --> @binwiederhier commented on GitHub (Jul 26, 2022): > It would be useful if the URLs were treated the same instead. Agreed. Should be easy to fix.
Author
Owner

@binwiederhier commented on GitHub (Oct 1, 2022):

Fixed in github.com/binwiederhier/ntfy@b15ecd785e

<!-- gh-comment-id:1264459380 --> @binwiederhier commented on GitHub (Oct 1, 2022): Fixed in https://github.com/binwiederhier/ntfy/commit/b15ecd785e801c9553be4e05039b2609f3adf3da
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#285
No description provided.