Skip to content

Conversation

@stephenmichaelf
Copy link
Member

No description provided.

@ericsciple
Copy link
Contributor

ericsciple commented Feb 8, 2018 via email

@stephenmichaelf
Copy link
Member Author

@ericsciple Comment and tests added.

var val = this.properties[key];
if (val) {
cmdStr += key + '=' + escape(val) + ';';
// safely append the message - avoid blowing up when attempting to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

message => val

@ericsciple
Copy link
Contributor

looks good

@stephenmichaelf stephenmichaelf changed the title Fix. Properly escape property value to handle non string types Feb 8, 2018
@stephenmichaelf stephenmichaelf merged commit b7b47e4 into master Feb 8, 2018
@bryanmacfarlane
Copy link
Contributor

published as 2.2.1

fullstackinfo pushed a commit to fullstackinfo/azure-pipelines-task-lib that referenced this pull request Aug 17, 2024
Properly escape property value to handle non string types
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.

4 participants