Skip to content

Conversation

@mikeminutillo
Copy link
Member

@mikeminutillo mikeminutillo commented Mar 11, 2020

Please see the associated Security Advisory for more information.

middleware.Invoke(context);
Assert.AreEqual(("application/octet-stream"), context.Response.ContentType);
}
//[Test]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikeminutillo @janovesk is there any reason that this test was not removed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intention was to put something back in it's place after the security advisory was published. Maybe an approval test of all extensions in the assembly along with the mime-type or something.

WilliamBZA pushed a commit that referenced this pull request Feb 17, 2023
Resolve directory traversal vulnerability in static file middleware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Type: Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants