You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@drauch yeah the need for #ifdef is why I've avoided this so far but I agree that it would be nice to leverage the native capability.
MedallionShell does encode arguments to prevent injection, though. Do you have reason to believe that the built-in argument encoding is not sufficient?
While I'm on it:
When targeting .NET5+ we could use ProcessStartInfo.ArgumentList to prevent argument injection by user input https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.argumentlist?view=net-5.0
Of course this would need an #ifdef for older platforms not supporting this new property.
Best regards,
D.R.
The text was updated successfully, but these errors were encountered: