Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #277 from Microsoft/users/scdallam/escape06
Browse files Browse the repository at this point in the history
escape
  • Loading branch information
bryanmacfarlane committed Apr 6, 2016
2 parents 8b9f153 + 76026c8 commit 7c8d4ee
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/agent/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,12 +442,20 @@ function createMaskFunction(jobEnvironment: agentifm.JobEnvironment, config: ICo
value: config.creds.username
};
maskHints.push(maskHint);
maskHint = {
value: encodeURIComponent(config.creds.username)
}
maskHints.push(maskHint);
}
if (config.creds.password) {
var maskHint = {
value: config.creds.password
};
maskHints.push(maskHint);
maskHint = {
value: encodeURIComponent(config.creds.password)
};
maskHints.push(maskHint);
}
}

Expand Down

0 comments on commit 7c8d4ee

Please sign in to comment.