Replies: 4 comments
-
I wish we could tackle the bigger argument quoting/escaping injection issue across all of Cake, so maybe this isn't such a good idea yet. |
Beta Was this translation helpful? Give feedback.
-
Can you elaborate on what you mean by this? |
Beta Was this translation helpful? Give feedback.
-
@gep13 Oh hey, looks like you're waiting for me on this one: #1272 |
Beta Was this translation helpful? Give feedback.
-
Also: #1898 (comment) |
Beta Was this translation helpful? Give feedback.
-
Some tool settings use the fluent-mutation API style. This is great for one-liners but everything falls apart and you have to refactor the expression to multiple statements as soon as you need to reach for
ArgumentCustomization
, which will never be completely rare.I'd like to propose the following extension method:
(
Raw
because it does no automatic escaping and so is susceptible to argument injection on Windows, a property it shares with most of Cake. 🙄)Usage:
Beta Was this translation helpful? Give feedback.
All reactions