-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Labels
clarificationrequests to clarify, but not change, part of the specrequests to clarify, but not change, part of the specparam serializationIssues related to parameter and/or header serializationIssues related to parameter and/or header serializationreview
Description
It isn't clear from the spec how these cases should be handled when building a request to be sent.
- a header parameter that has "\r\n" in its value
- a cookie with ";" in its value
- a spaceDelimited value that has " " in it
- a pipeDelimited value that has "|" in it
- a label value with a "." in it
- a matrix, form, or simple styled non-exploded value with "," in its values
I assume that OAS has no way to protect an app from itself in these circumstances, and so it is the responsibility of the app not to send data like this in these cases, or for an OAS client library to report an error if it is asked to do so.
(in terms of protecting an app from itself, cases like a path parameter which has "?" in its value and a query parameter that has "&" in its value can be dealt with by percent encoding these values before inserting into the URL)
Metadata
Metadata
Assignees
Labels
clarificationrequests to clarify, but not change, part of the specrequests to clarify, but not change, part of the specparam serializationIssues related to parameter and/or header serializationIssues related to parameter and/or header serializationreview