mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[GH-ISSUE #503] Sender column in cache.db shows invalid IP #382
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#382
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 @binwiederhier on GitHub (Nov 16, 2022).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/503
@binwiederhier commented on GitHub (Nov 16, 2022):
Likely related to the work in #429
/cc @karmanyaahm
@karmanyaahm commented on GitHub (Nov 16, 2022):
I'll see what I can find
@karmanyaahm commented on GitHub (Nov 17, 2022):
Are there any patterns (to help me reproduce this)? Is it happening often or rarely; for any content or just "triggered"; with no attachments?
@binwiederhier commented on GitHub (Nov 17, 2022):
Pretty much all messages have this. I may have time to look tonight a little.
@binwiederhier commented on GitHub (Nov 17, 2022):
It is worth noting that I'm behind nginx with the config mentioned here: https://docs.ntfy.sh/config/#nginxapache2caddy
Maybe an issue with X-Forwarded-For parsing?
@karmanyaahm commented on GitHub (Nov 17, 2022):
I only ever tested with Caddy, so that might be it, I"ll try setting up nginx.
@binwiederhier commented on GitHub (Nov 17, 2022):
Don't worry about it. I can probably figure it out. Unless you're eager to learn nginx hehe
@binwiederhier commented on GitHub (Nov 18, 2022):
https://pkg.go.dev/net/netip#Addr.String
@karmanyaahm commented on GitHub (Nov 24, 2022):
Interesting ... so I should've set the 'invalid IP's to empty strings, and validated them at parse time.