Skip to content

Commit

Permalink
Add escape for colon
Browse files Browse the repository at this point in the history
  • Loading branch information
kvanbere committed Oct 7, 2023
1 parent a31ee4f commit d518e41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ runs:
env:
METHOD: ${{ format('-X ''{0}''', inputs.method) }}
URI: ${{ format(' ''{0}''', inputs.uri) }}
CONTENT_TYPE: ${{ format(' -H ''Content-Type: {0}''', inputs.content-type) }}
CONTENT_TYPE: "${{ format(' -H ''Content-Type: {0}''', inputs.content-type) }}"
FILENAME: ${{ inputs.filename != '' && format(' -o ''{0}''', inputs.filename) || '' }}
USER_AGENT: ${{ inputs.user-agent != '' && format(' --user-agent ''{0}''', inputs.user-agent) || '' }}
MAX_REDIRECTIONS: ${{ inputs.max-redirections != 5 && format(' --max-redirs {0}', inputs.max-redirections) || '' }}
Expand Down

0 comments on commit d518e41

Please sign in to comment.