Skip to content

Conversation

tzing
Copy link
Contributor

@tzing tzing commented Sep 16, 2025

Fixes #13718

Motivation

On using withParam/withItems on DAG/Steps, Argo Workflow mistakenly replace the \n chars as \\n and it may break some tasks.

Modifications

The operator used a JSON serialized string for building items. This casues some escape string got escaped again.
This PR use the the GetStrVal method to extract its original value.

Verification

Covered in the test cases added in e50be2e

Documentation

@tzing tzing force-pushed the fix/withparam-escape branch from 51a5ad0 to e50be2e Compare September 16, 2025 09:48
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.

Parameters values escaping problem

1 participant