Allow connection to relays at local IP addresss #629
Labels
No labels
Blocked
Bug
Documentation
Duplicate
Enhancement
Good first issue
Help wanted
Idea
In progress
Invalid
Major feature set
Packaging
Question
Soon
UI/UX
Upstream
You're dreamin'
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nostr/gossip#629
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?
Our
Urltype enforces that the authority (host) is global. We do this to stop the proliferation of invalid URLs in nostr events, in relay lists, in recommended relay URL fields, in nevent1s, etc.But this means people cannot use
wss://localhost:8080/and connect to their local relay.We probably need to allow local URLs and apply local/global testing at various points in the code. That might be a lot of points though.
This is a lot of trouble, more than it is worth given someone can put a hostname in their hosts file and map it to a local IP address. Our global check only applies when the URL is specified as an IP address.