Skip to content

Escape double dollar during include process#667

Closed
jhrotko wants to merge 2 commits intocompose-spec:mainfrom
jhrotko:double-dollar-removal-interpolation
Closed

Escape double dollar during include process#667
jhrotko wants to merge 2 commits intocompose-spec:mainfrom
jhrotko:double-dollar-removal-interpolation

Conversation

@jhrotko
Copy link
Copy Markdown
Collaborator

@jhrotko jhrotko commented Jul 23, 2024

No description provided.

@jhrotko jhrotko requested a review from glours July 23, 2024 09:14
@jhrotko jhrotko self-assigned this Jul 23, 2024
@jhrotko jhrotko marked this pull request as ready for review July 23, 2024 09:14
@jhrotko jhrotko requested a review from ndeloof as a code owner July 23, 2024 09:14
case map[string]any:
for k, el := range v {
v[k] = escape(el)
}
Copy link
Copy Markdown
Collaborator

@ndeloof ndeloof Jul 23, 2024

Choose a reason for hiding this comment

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

return v
(not strictly required, but make it more obvious we want to return the modified content)

Signed-off-by: Joana Hrotko <joana.hrotko@docker.com>
@jhrotko jhrotko force-pushed the double-dollar-removal-interpolation branch from 28dfb6a to 0761c33 Compare July 23, 2024 09:42
Signed-off-by: Joana Hrotko <joana.hrotko@docker.com>
@jhrotko jhrotko closed this Aug 1, 2024
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.

2 participants