-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch to valid URL syntax #17
Comments
The solution to this is probably to switch over to compact URLs everywhere as per issue #10. |
The problem with the compact URLs is that a URL like https://matrix.to/@matthew:matrix.org would 1) send the entire URL to the server, which may be a privacy concern, and 2) require some server-side help, which would make it harder for people to host it themselves (e.g. matrix.to currently 404s on that link instead of loading the main matrix.to page) |
Usually one would handle it like this, I guess:
|
yeah, but i'd prefer it to look more cosmetically like a mx://server/resource URL rather than a slightly clunky querystring, and to preserve the correct sigil semantics of matrix user ids, room aliases etc (even though they don't fit very nicely into http urls sadly)
|
How about |
@phaux what about roomId |
🥁 |
Another big problem with the "#" syntax is that this makes the matrix.to implementation impossible to proxy with apache/nginx as the full URL doesn't get sent as part of the "GET". |
This is by design. To prevent the host being able to sniff on usage. |
Technically you're meant to escape # and @ symbols within URL paths/fragments. The fact we don't causes woes like those described on https://meta.discourse.org/t/broken-links-blank-page-with-appearing-in-url/52640/10
The text was updated successfully, but these errors were encountered: