Add pattern restriction

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
This commit is contained in:
Johannes Marbach 2025-11-24 11:49:41 +01:00 committed by GitHub
parent 47cce0ca26
commit c1ea8f9e7d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,6 +24,7 @@ properties:
A URL pointing to the homeserver's OAuth account management web UI A URL pointing to the homeserver's OAuth account management web UI
where the user can approve the action. MUST be a valid URI with scheme where the user can approve the action. MUST be a valid URI with scheme
`http://` or `https://`, the latter being RECOMMENDED. `http://` or `https://`, the latter being RECOMMENDED.
pattern: "^https?://"
example: { example: {
"url": "https://example.org/account/reset-cross-signing" "url": "https://example.org/account/reset-cross-signing"
} }