-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
formatter: escape percent sign in response format #19383
Conversation
Signed-off-by: Aidan Hahn <aidanhahn@datawire.io>
Hi @aidanhahn, welcome and thank you for your contribution. We will try to review your Pull Request as quickly as possible. In the meantime, please take a look at the contribution guidelines if you have not done so already. |
/assign-from @envoyproxy/first-pass-reviewers Can you clean up the description (remove optional fields and hints)? |
@envoyproxy/first-pass-reviewers assignee is @jmarantz |
Also, please don't force-push. More detail about this will be added to the developers doc in #19381 |
I have |
To rerun failed checks without making changes just add this line in a comment: /retest More info on this is in https://github.com/envoyproxy/envoy/blob/main/CONTRIBUTING.md#triggering-ci-re-run-without-making-changes |
Retrying Azure Pipelines: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a few superficial nits but I think this needs a look from someone who's worked with the formatters before.
Previously you mentioned I should not force push, is it acceptable to force push in order to fix DCO? |
That's the only reason to do it, but generally you should not have DCO problems if you set up the right git hooks. The main reason it's OK to force-push to fix DCO is that usually happens exactly once, before anyone has started reviewing. If you force-push after people start reviewing it wipes out their comments. So my suggestion is to force-push this time, but install the git hooks so this never needs to happen again, and we'll live with my precious review being wiped :) |
Signed-off-by: Aidan Hahn <aidanhahn@datawire.io>
/retest |
Retrying Azure Pipelines: |
/wait |
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Add a case in the SubstitutionFormatter to replace '%%' with '%'.
This allows users to escape % in their configurations, fixing #15159.
Signed-off-by: Aidan Hahn aidanhahn@datawire.io
Commit Message: formatter: escape percent sign in response format
Additional Description:
Risk Level: Low
Testing: Unit testing
Docs Changes:
Release Notes:
Platform Specific Features:
Fixes: #15159