diff options
author | CicadaCinema <52425971+CicadaCinema@users.noreply.github.com> | 2023-10-25 09:24:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 10:24:06 +0200 |
commit | 89482ad7902d6cacddc29f8eac62ab66ff4ebf24 (patch) | |
tree | 526dc6441fb898f23b3c1ab96984234c5c74b868 /internal | |
parent | a0375d41fbbdabd98df743d2e7fa77b4d0c44d4b (diff) |
clean up dead links, fix typo (#3130)
I fixed any dead links beginning https://matrix.org/speculator and some
issues I found along the way.
https://web.archive.org/web/20190329152312/https://matrix.org/speculator/spec/HEAD/client_server/unstable.html#user-interactive-authentication-api
is now found at
https://spec.matrix.org/v1.7/client-server-api/#user-interactive-authentication-api
https://web.archive.org/web/20170620093435/https://matrix.org/speculator/spec/HEAD/client_server/unstable.html#post-matrix-client-unstable-register
is now found at
https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv3register
https://github.com/matrix-org/matrix-spec/blob/2a8d64fef7a40717ef9f5748ee0551b2117be037/specification/intro.rst?plain=1#L443
is now found at
https://spec.matrix.org/v1.7/appendices/#user-identifiers
Diffstat (limited to 'internal')
-rw-r--r-- | internal/validate.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/validate.go b/internal/validate.go index 99088f24..7f0d8b9e 100644 --- a/internal/validate.go +++ b/internal/validate.go @@ -25,7 +25,7 @@ import ( ) const ( - maxUsernameLength = 254 // http://matrix.org/speculator/spec/HEAD/intro.html#user-identifiers TODO account for domain + maxUsernameLength = 254 // https://spec.matrix.org/v1.7/appendices/#user-identifiers TODO account for domain minPasswordLength = 8 // http://matrix.org/docs/spec/client_server/r0.2.0.html#password-based maxPasswordLength = 512 // https://github.com/matrix-org/synapse/blob/v0.20.0/synapse/rest/client/v2_alpha/register.py#L161 |