[Fix] stringify: apply formatter to encoded key under strictNullHandling by deepview-autofix · Pull Request #554 · ljharb/qs (original) (raw)
…Handling`
Previously the null branch returned the raw encoder(prefix, ...) output
(or raw prefix) without running it through formatter.
With format: 'RFC1738' this caused keys containing spaces to serialize as
%20 in strict-null mode while the normal primitive path produced +,
yielding inconsistent output for the same key.
Co-Authored-By: Claude noreply@anthropic.com Co-Authored-By: DeepView Autofix 276251120+deepview-autofix@users.noreply.github.com Co-Authored-By: Nikita Skovoroda chalkerx@gmail.com Co-Authored-By: Jordan Harband ljharb@gmail.com Signed-off-by: Nikita Skovoroda chalkerx@gmail.com