ostium.proto.escape

ostium.proto

escape(s) -> escaped

Percent-encode the characters that would break field framing

Encodes %, |, ,, = and control bytes as %XX. Applied to label values and to free text such as the block reason, so a raw split on the delimiters is always safe.