Skip to content
New issue

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

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

Already on GitHub? # to your account

Use single quotes around URL #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paulRbr
Copy link

@paulRbr paulRbr commented Dec 11, 2024

This change adds single quotes around the URL of the curl command.

It makes sure to make curl commands with a URL that contains multiple query param work well in *nix terminals.

e.g. curl http://example.com?query=one&query=two the terminal will interpret the & character as a “send to background” command. See this SO thread for details

This change adds single quotes around the URL of the curl command.

It makes sure to make curl commands with a URL that contains multiple query param work well in *nix terminals.

e.g. `curl http://example.com?query=one&query=two` the terminal will interpret the `&` character as a “send to background” command. [See this SO thread for details](https://stackoverflow.com/questions/13339469/how-to-include-an-character-in-a-bash-curl-statement)
@albertodeago
Copy link
Owner

Hello, thanks for your contribution, may I ask you to check this, tests would need to be updated
(I just added a workflow to run them on PRs so it's easier to see the issue)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants