asp.net - HTTP POSTed files automatically uploaded to root directory -


I inherited just one ASP.NET webform web application that was assigned to me with refactoring.

One of the features is a file upload and while debugging I saw that as soon as a file is posted on a certain page / handler it automatically uploads to the root directory of the application. . The file is then moved to the appropriate location.

I can not seem to know what is happening due to this automatic upload of the file. Is there something that is appearing in the ASP.NET webform, which allows it to happen? Is this an IIS configuration or something?

Exit, whatever was posted in any posted root directory, which was an HTTP module To do this, it has been removed from the web.config file.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -