Fix S6932 FP: IFormCollection.Files access should be compliant
Closed this issue · 0 comments
martin-strecker-sonarsource commented
Description
[HttpPost]
public IActionResult SomeAction(IFormCollection formCollection)
{
var files = formCollection.Files; // Noncompliant FP
// ..
}
We recommend using IFormCollection
for binding in the RSpec of S6932. formCollection.Files
should therefore also be compliant.