Skip to content

fix: quote curl URL to prevent shell & splitting#162

Open
Shishir-Kc wants to merge 1 commit into
nasa:masterfrom
Shishir-Kc:master
Open

fix: quote curl URL to prevent shell & splitting#162
Shishir-Kc wants to merge 1 commit into
nasa:masterfrom
Shishir-Kc:master

Conversation

@Shishir-Kc

Copy link
Copy Markdown

The curl example in the HTML template was missing quotes around the URL.
In bash, an unquoted & sends the rest of the command to the background as a separate process so query params like
date= never actually reach the server.
Without quotes:
image
Fix
Wrap the URL in double quotes.
With quotes:
image

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.

1 participant