validatePctEscapes

private fnvoid validatePctEscapes(string s, string what) @safe

Validate that any percent signs in s form valid %HH escapes.

This validator is used by strict parsing to reject malformed percent-encoding sequences early.

Parameters

sComponent string to validate.
whatHuman-readable component name used for error messages.

Throws

UriParseException if an invalid or incomplete escape sequence is found.