Skip to content

Conversation

@BYK
Copy link
Member

@BYK BYK commented Oct 8, 2020

We used Mustache templates that were already available for image name formatting. Musache escapes all HTML-unsafe characters by default which rightly confused the Docker CLI client. This patch uses the {{{varName}}} pattern for the default format config to disable escaping.

We used Mustache templates that were already available for image name formatting. Musache escapes all HTML-unsafe characters by default which rightly confused the Docker CLI client. This patch uses the `{{{varName}}}` pattern for the default format config to disable escaping.
@BYK BYK requested review from HazAT and jan-auer October 8, 2020 09:14
@BYK
Copy link
Member Author

BYK commented Oct 8, 2020

brace yourself

(pun intended)

Copy link
Member

@jan-auer jan-auer left a comment

Choose a reason for hiding this comment

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

Sorry for the sloppy reviews :)

@BYK
Copy link
Member Author

BYK commented Oct 8, 2020

Sorry for the sloppy reviews :)

This is what happens when you don't have tests and nobody calls you out for them ;)

@BYK BYK merged commit b59fbd4 into master Oct 8, 2020
@BYK BYK deleted the byk/fix/docker-format-escapes branch October 8, 2020 13:39
BYK added a commit to getsentry/sentry that referenced this pull request Oct 15, 2020
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