FA-192 / Protocols / Member archive
Grouping query parameters loses their original order · case 02
Repeated parameters disappear or move past parameters that originally separated them.
Case contract
Parse an application/x-www-form-urlencoded query into ordered [key, value] pairs. Preserve repeated keys, empty keys, and empty values; ignore empty separator-only segments.
Why this case matters
Some request-signature, forwarding and audit formats depend on exact ordered parameter multiplicity. A mapping is a lossy intermediate representation for that contract.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| interleaved duplicate keys | [["a", "last"], ["b", "x"]] | [["a", "2"], ["b", "x"], ["a", "last"]] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗