Closed LeftTwixWand closed 1 year ago
Extension name: IISWebAppDeploy
Tasks:
Description: Before, during the additional arguments validation we just looked for the forbidden characters, like this:
if($additionalArguments -match "[&;|]")
But there is some cases, when we have to pass some array of values as a parameter argument, like this:
/p:DoNotDropObjectTypes="RoleMembership;ServerRoleMembership"
This PR improves validation, by skipping the content in quotes.
Documentation changes required: No
Added unit tests: Yes
Attached related issues:
Checklist:
Extension name: IISWebAppDeploy
Tasks:
Description: Before, during the additional arguments validation we just looked for the forbidden characters, like this:
But there is some cases, when we have to pass some array of values as a parameter argument, like this:
This PR improves validation, by skipping the content in quotes.
Documentation changes required: No
Added unit tests: Yes
Attached related issues:
Checklist: