Comments (3)
this turns out to be surprisingly hard to do correctly in Go, so I'm not sure this is worth fixing. It's pretty harmless if we are a bit too tolerant.
from gomatrixserverlib.
I know it forbids it, but everytime a server lets me specify a CNAME nonetheless, I dance a happy dance. Even if not accordingly strictly to spec, it is not wrong to be a bit lenient, so I propose to not do anything about this and close the issue :-)
from gomatrixserverlib.
I fundamentally disagree with past-me here.
Given the question "should CNAMEs be accepted as the target of SRV records", there should be one answer that applies to the whole of the matrix ecosystem, otherwise we'll be in the frustrating situation of connections working intermittently. (eg, you'll be able to federate with servers written in Go, but not in Python)
Before completely deciding what to do here, I'd be interested to know what Synapse does, but given, as Brendan says, CNAMEs are not normally valid as the target of SRV records, I am inclined to say they should not be accepted.
Related: matrix-org/matrix-spec#606
from gomatrixserverlib.
Related Issues (20)
- Homeserver well known lookup occasionally fails HOT 9
- Rename Base64String to Base64Bytes
- Meta: Specification lies/omissions/ambiguity HOT 18
- Graph linearisation
- Room version on Event leads to footguns HOT 1
- Keyrings, fetchers and databases HOT 1
- Add better GoDoc
- Make it easier to log and debug Events (Event.eventJSON) HOT 2
- Well-kown file looked up for every client call
- LookupWellKnown doesn't specify user agent HOT 3
- Bad JSON: value is outside of safe range HOT 2
- Cannot join some rooms due to ‘user part contains invalid characters’ HOT 1
- Support MSC3787
- media download URL is on /v1/
- Index out of range for empty host
- Remove tokens package
- Remove hooks directory
- Remove RawJSON
- Improperly falling back to unstable endpoint for room hierarchies
- Unable to lookup server keys HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gomatrixserverlib.