Skip to main content

parse_query

Function parse_query 

Source
pub fn parse_query(
    query: &str,
    limits: &LimitsConfig,
) -> Result<ParsedQuery, NormalizationError>
Expand description

Parse a query string into decoded key-value pairs (+ treated as space).

Values are fully canonicalized (percent + overlong fixpoint + NFKC). Also returns the base64-derived variants of the values (10c, decode-then-match-then-discard). Returns (params, double_encoding_detected, derived_decoded).