Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizeMethod ¶
NormalizeMethod validates and cleans a service invocation method name. It rejects methods containing '#', '?', null bytes, or control characters (bytes 0x01-0x1f and 0x7f), then resolves path traversal via path.Clean. The caller is responsible for percent-decoding (for HTTP) before calling.
func ValidateName ¶
ValidateName checks that a name (e.g. reminder or timer name) does not contain characters that could cause path traversal or injection when the name is embedded in a URL path. Unlike NormalizeMethod, this rejects any name containing '/' or '\' since names are identifiers, not paths.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.