Skip to content

Fix path params uri unescape #28

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 2 commits into from
May 31, 2023

Conversation

Ellipse0934
Copy link
Contributor

Potentially fix #27

Dunno, have to test it first.

@@ -260,7 +260,7 @@ function prep_args(ctx::Ctx)
body = to_json(ctx.body)
elseif ("application/x-www-form-urlencoded" == ctx.header["Content-Type"]) && isa(ctx.body, Dict)
body = URIs.escapeuri(ctx.body)
elseif isa(ctx.boody, APIModel) && isempty(get(ctx.header, "Content-Type", ""))
elseif isa(ctx.body, APIModel) && isempty(get(ctx.header, "Content-Type", ""))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops! thanks for catching this

@tanmaykm
Copy link
Member

GitHub CI with Julia 1.9 is having trouble. Testing locally shows no trouble with 1.9 though. Will merge this and we can look into that separately

@tanmaykm tanmaykm merged commit e70f552 into JuliaComputing:main May 31, 2023
tanmaykm added a commit that referenced this pull request May 31, 2023
Update tests for #28.
Add some diagnostic messages to troubleshoot CI.
@tanmaykm tanmaykm mentioned this pull request May 31, 2023
@Ellipse0934
Copy link
Contributor Author

Great! Thanks for testing it out.

tanmaykm added a commit that referenced this pull request May 31, 2023
Update tests for #28.
Add some diagnostic messages to troubleshoot CI.
tanmaykm added a commit that referenced this pull request May 31, 2023
Update tests for #28.
Add some diagnostic messages to troubleshoot CI.
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.

Escape path parameters
2 participants