Open pbcahill opened 1 month ago
@pbcahill, thank you for escalating this problem. I've prepared a PR in the agent repository. This PR solves this issue by passing build tags as Body parameter.
Ok great thank you @ivanduplenskikh! I will give it a try once the new agent version is available to use.
The addBuildTag function fails if the string being used contains a colon
:
.Example:
tl.addBuildTag("test:value");
Error returned in pipeline log:
##[error]A potentially dangerous Request.Path value was detected from the client (:).
Seems to be the same bug reported here - https://developercommunity.visualstudio.com/t/Error-when-setting-vsobuildaddbuildt/10163239 - so it is happening with regular script tasks and api calls too.
Debug logs: