Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify rules for escaping shapes bound to URIs #1630

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

JordonPhillips
Copy link
Contributor

This updates the rules for escaping values of shapes bound to the HTTP URI according to the rules of RFC3986. The list of characters to escape was replaced with a list of safe characters. Initially that was created by subtracting the reserved characters in section 2.2 from the relevant valid characters defined in the productions for the particular binding locations, but those all ended up being equivalent to the unreserved characters production in section 2.3.

closes #1011

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This updates the rules for escaping values of shapes bound to the
HTTP URI according to the rules of RFC3986. The list of characters to
escape was replaced with a list of safe characters. Initially that
was created by subtracting the reserved characters in section 2.2
from the relevant valid characters defined in the productions for the
particular binding locations, but those all ended up being equivalent
to the unreserved characters production in section 2.3.

closes smithy-lang#1011
@JordonPhillips JordonPhillips requested a review from a team as a code owner February 23, 2023 14:51
@JordonPhillips JordonPhillips merged commit 77c49fb into smithy-lang:main Feb 24, 2023
@JordonPhillips JordonPhillips deleted the escaping branch February 24, 2023 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants