mirror of
https://github.com/github/codeql.git
synced 2026-02-11 20:51:06 +01:00
18 lines
281 B
C#
18 lines
281 B
C#
using System;
|
|
using System.Web.UI.HtmlControls;
|
|
|
|
namespace UseOfFileUpload
|
|
{
|
|
class Main
|
|
{
|
|
|
|
public void Foo()
|
|
{
|
|
HtmlInputFile FileUpload = new HtmlInputFile();
|
|
HttpPostedFile posted = FileUpload.PostedFile; // BAD
|
|
}
|
|
|
|
}
|
|
|
|
}
|