repo: fmrl_spec action: commit revision: path_from: revision_from: 1de2b693624595db0295d5e8169966d7a03cc328: path_to: revision_to:
commit 1de2b693624595db0295d5e8169966d7a03cc328 Author: makeworldDate: Thu Jan 27 12:35:34 2022 -0500 uri requirements diff --git a/spec.md b/spec.md
--- a/spec.md +++ b/spec.md @@ -1,6 +1,6 @@ # Specification -v0.1.0, January 27th 2022 +v0.1.1, January 27th 2022 **This is a draft version of the spec, and is subject to change.** @@ -195,6 +195,8 @@ Servers MUST validate that this field is a valid URI. Clients MUST validate this Servers MUST limit this to 512 bytes, returning code 400 to clients that try to set a longer one. Clients MUST NOT attempt to set a longer `uri`. Clients SHOULD NOT display any received `uri` that is longer. +In addition to URI validation, this field MUST NOT contain whitespace, and MUST contain a colon. This prevents just inserting text like `hello world`, which is apparently a valid URI. + ## String cleaning Certain characters are banned in user data strings. Servers MUST reject attempts to set data strings that contain these characters, and clients MUST NOT upload data strings that contain these characters. Clients MAY strip out these characters when user attempts to upload them, instead of returning an error to the user. Clients SHOULD strip these out from statuses it downloads.
-----END OF PAGE-----