mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 16:35:53 +02:00
[GH-ISSUE #442] base url prefix check is case sensitive #339
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#339
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @theEndBeta on GitHub (Oct 16, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/442
I had my base url with capitalized letters (no real reason for this other than I wanted to), but the push key prefix was using all lower case.
As far as I am aware, url handling should be case insensitive.
I believe that the error is resulting from:
github.com/binwiederhier/ntfy@5b8372d260/server/server_matrix.go (L125-L127)The error I saw in the
TRACElogs was:@binwiederhier commented on GitHub (Oct 20, 2022):
While it is true that domains are technically case in-senstitive, it is also extremely uncommon to uppercase any part of a domain. So while I thank you for bringing this to my attention, I don't think I want to fix this. It seems like unnecessary code and it can be easily fixed because the error message is clear enough.