-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
area/runtimeAffects: the runtime library.Affects: the runtime library.kind/enhancementImprovements to existing feature.Improvements to existing feature.size/SSmall task. (A couple of hours of work.)Small task. (A couple of hours of work.)
Milestone
Description
Commit hash: f0589f6
Context:
URIDecoder fails with error DecodingError: typeMismatch String - at : Cannot parse a value from a node with multiple values. (underlying error: <nil>) when trying to parse a value that contains a comma (e.g. no-cache, private in a header response).
I traced this back to URIParser which is splitting elements by commas.
Steps to reproduce:
- Attempt to decode a header response containing a comma as part of a request
- Request fails with
DecodingError.typeMismatch
$ swift --version
Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
Target: arm64-apple-macosx13.0
Operating system: MacOS 13.4.1
Metadata
Metadata
Assignees
Labels
area/runtimeAffects: the runtime library.Affects: the runtime library.kind/enhancementImprovements to existing feature.Improvements to existing feature.size/SSmall task. (A couple of hours of work.)Small task. (A couple of hours of work.)