FA-214 / Protocols / Member archive
A second percent-decoding pass changes path data into syntax · case 04
A literal plus becomes a space, or a double-encoded slash unexpectedly becomes a path separator.
Case contract
Decode a URL path component once using UTF-8. Preserve literal plus signs and malformed percent tokens; return None when encoded bytes are invalid UTF-8. Do not normalize paths or separators.
Why this case matters
Different decoding layers can disagree about a resource path. Keeping the decode count and plus-sign convention explicit prevents ambiguous interpretation.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| literal plus retained in path | "aaaa b" | "aaaa+b" | 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 ↗