Skip to content

fix(curl,shell): shell quoting on @file #221

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 3 commits into from
Mar 21, 2024
Merged

Conversation

llimllib
Copy link

🧰 Changes

Fix shell quoting on curl's @file parameter

🧬 QA & Testing

  • save an image file to the file name image copy.jpg, then run:

curl https://httpbingo.org/anything -X POST --form file='@image copy.jpg'

note that what we currently produce is:

curl https://httpbingo.org/anything -X POST --form file=@image%20copy.jpg

and that that does not work

@erunion
Copy link
Member

erunion commented Mar 21, 2024

@llimllib lgtm, unfortunately getting this out to production is currently blocked by our TS upgrades and UI directive removal.

@erunion erunion merged commit 29e859d into main Mar 21, 2024
11 checks passed
@erunion erunion deleted the llimllib-fix-file-escaping branch March 21, 2024 16:30
@llimllib
Copy link
Author

yup, just figured I'd fix it while I knew what it was

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