WebsitePath typedef

WebsitePath = String

A file's path relative to the site root, /-separated, with or without a leading /. The community resolves it inside the site root and refuses one that escapes the root (..), names a hidden file or directory (a segment beginning .), carries a blocklisted extension, or contains a control character — the same rules the public read handler applies, so nothing can be written that the site would refuse to serve, and nothing can be read that it would not.

Implementation

typedef WebsitePath = String;