ntfy icon indicating copy to clipboard operation
ntfy copied to clipboard

Trailing slash in base URL matters

Open tfheen opened this issue 1 year ago • 1 comments

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.

tfheen avatar Jul 25 '22 20:07 tfheen

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

Agreed. Should be easy to fix.

binwiederhier avatar Jul 26 '22 23:07 binwiederhier

Fixed in https://github.com/binwiederhier/ntfy/commit/b15ecd785e801c9553be4e05039b2609f3adf3da

binwiederhier avatar Oct 01 '22 19:10 binwiederhier