Skip to content

feat: Add support for percent encoded requests #52

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

Merged
merged 1 commit into from
Jun 25, 2019

Conversation

Andrew-Lees11
Copy link
Contributor

This is a fix for issue #42

Previously when you made HTTP requests to a route with percent encoding, the encoding would be removed causing the request to fail.

This request adds the percent encoding back to the path when you get the uri so that it can be correctly processed.

@swift-server-bot
Copy link

Can one of the admins verify this patch?

@ianpartridge ianpartridge requested a review from artemredkin June 25, 2019 10:20
@artemredkin
Copy link
Collaborator

@swift-server-bot test this please

@artemredkin
Copy link
Collaborator

Looks good, thank you!

@artemredkin artemredkin merged commit 022bb50 into swift-server:master Jun 25, 2019
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.

3 participants