We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm trying to set some exclusions by passing some regex to the -z paramater. In the cli, it looks like this
-z "-config globalexcludeurl.url_list.url.regex='(?!http:\\/\\/ete-dev-api.azurewebsites.net)"
however, to pass this to the cli in the yaml is seemingly impossible because the double quotes are stripped regardless of how you pass it in.
I will explain the specific issue using an example from the readme though (as you would assume that should work).
cmd_options: -z "-config view.locale=fr_FR"
in the yaml results in the following being called in the runner (I've redacted a the other args)
run -v /home/****:/zap/wrk/:rw --network=host -z -config view.locale=fr_FR
From what I can tell this is due to the way exec (and argStringToArray) escape strings in the js library. Am I missing something or is this a bug?
exec
argStringToArray
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to set some exclusions by passing some regex to the -z paramater. In the cli, it looks like this
-z "-config globalexcludeurl.url_list.url.regex='(?!http:\\/\\/ete-dev-api.azurewebsites.net)"
however, to pass this to the cli in the yaml is seemingly impossible because the double quotes are stripped regardless of how you pass it in.
I will explain the specific issue using an example from the readme though (as you would assume that should work).
cmd_options: -z "-config view.locale=fr_FR"
in the yaml results in the following being called in the runner (I've redacted a the other args)
run -v /home/****:/zap/wrk/:rw --network=host -z -config view.locale=fr_FR
From what I can tell this is due to the way
exec
(andargStringToArray
) escape strings in the js library. Am I missing something or is this a bug?The text was updated successfully, but these errors were encountered: