PercentDecodingOptions Enum
Definition
- Assembly
- Bodu.Text.Encoding.dll
- Package
- Bodu.Text.Encoding 1.0.0
Specifies relaxations applied by the PercentEncoding decoder over its strict RFC 3986 default.
[Flags]
public enum PercentDecodingOptions : byte
- Attributes
- Extension Methods
Fields
None = 0Strict decoding: a
%must be followed by exactly two hexadecimal digits, otherwise the input is rejected.AllowInvalidPercentLiterals = 1Copies a malformed percent sequence (a
%not followed by two hexadecimal digits) literally as its ASCII bytes instead of rejecting it, matching WHATWG-style lenient percent-decoding. Valid escapes are unaffected.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |