Check a content id before it becomes a path segment. A content id is a token (D8): surrounding
whitespace is trimmed (as pasted); a blank value, or one with an invisible or control
character or a lone surrogate, is refused (tokenProblem: Invalid contentId: "2267\u200b68" contains an invisible or control character (U+200B)., the value shown visibly). Content ids
are numeric (the keys of list(), the id of summaries()), so then only ASCII digits pass:
"." and ".." would otherwise reach the list endpoint or its parent directory (URL
dot-segment normalisation), and the upstream reads a leading integer leniently (226768x
returns 226768's country). Throws ReiseValidationError (a ReiseError), like every other
rejected input; a number (226768) is refused with a message that says it must be a string.
The echoed value is cut at 500 characters (quoteValue).
Check a content id before it becomes a path segment. A content id is a token (D8): surrounding whitespace is trimmed (as pasted); a blank value, or one with an invisible or control character or a lone surrogate, is refused (
tokenProblem:Invalid contentId: "2267\u200b68" contains an invisible or control character (U+200B)., the value shown visibly). Content ids are numeric (the keys oflist(), theidofsummaries()), so then only ASCII digits pass:"."and".."would otherwise reach the list endpoint or its parent directory (URL dot-segment normalisation), and the upstream reads a leading integer leniently (226768xreturns 226768's country). Throws ReiseValidationError (a ReiseError), like every other rejected input; a number (226768) is refused with a message that says it must be a string. The echoed value is cut at 500 characters (quoteValue).