Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Console] Escape command usage#24455
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ro0NL commentedOct 6, 2017
What about markdown formatter? should we use htmlspecialchars there? |
sroze commentedOct 6, 2017
@ro0NL I'm not sure we should change anything on the Markdown usage for now, I don't see any issue with such arguments. |
ro0NL commentedOct 6, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
AFAIK markdown will render it as HTML tags; If we already quote using backticks we're good :) edit:https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Console/Tests/Fixtures/command_2.md looks good already, i think we're fine :) |
ro0NL left a comment
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 think we should patch 2.7 instead.
5b562d5 toef650ddComparesroze commentedOct 7, 2017
ping@nicolas-grekas |
chalasr commentedOct 8, 2017
I also think this should be merged as a bugfix in 2.7.@sroze Can you retarget and rebase? |
ef650dd to2141056Comparesroze commentedOct 8, 2017
Good point.@chalasr rebased and changed target 👍 |
chalasr commentedOct 8, 2017
Thank you@sroze. |
This PR was merged into the 2.7 branch.Discussion----------[Console] Escape command usage| Q | A| ------------- | ---| Branch? | 2.7| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#24225| License | MIT| Doc PR | øEscape the console usage to prevent arguments named `info` or similar to be formatted.Commits-------2141056 Escape command usage when displaying it in the text descriptor
Uh oh!
There was an error while loading.Please reload this page.
Escape the console usage to prevent arguments named
infoor similar to be formatted.