Closed Issue: WebImage.Resize can sometimes add black border [1126]
Sometimes resizing an image can add a black border to the output, example (images attached):```new WebImage("original.jpg").Resize(180, 180).Save("output.jpg");```A possible fix is in...
View ArticleClosed Issue: request.Content.ReadAsMultipartAsync() throws an...
If a part of a multipart message contains two Content-Type headers, request.Content.ReadAsMultipartAsync() throws the following:System.InvalidOperationException: Error parsing MIME multipart body part...
View ArticleClosed Task: MQ: Revisit use of Error.ArgumentNull and similar helpers [1114]
Error.ArgumentNull breaks static analysis of parameter name. Let's revisit whether to use this helper in our assemblies and have a consistent approach across them.One solution:Replaces all uses of...
View ArticleClosed Task: MQ: Review global suppressions [1100]
I found some unused global suppressions in System.Web.Http. We should check the other projects as well. While we're at it, we should also fix line length and sorting in these files.
View ArticleEdited Issue: ReadAsMultipartAsync may cause null ref exception [1046]
This is a issue from fuzzing test, but it's not a security issue.To repro the issue, consume the attached file and build HttpContent by code: public bool ConsumeFuzzedFile(string fuzzedFile,...
View ArticleClosed Issue: FormDataCollectionExtensions.CreateActionContextForModelBinding...
HttpControllerContext controllerContext = new HttpControllerContext() { Configuration = config };is the offending line.Comments: https://aspnetwebstack.codeplex.com/workitem/1287
View ArticleCommented Issue: FormDataCollectionExtensions provides incomplete context [1287]
FormDataCollectionExtensions (CreateActionContextForModelBinding) uses an incomplete HttpControllerContext, with only the configuration set (it calls the unit test-only constructor). Consumers normally...
View ArticleEdited Issue: Complex ModelBinding error/issue [904]
Given a classpublic class SearchRepresentation{ public string Search { get; set; } public string Code { get; set; }}and a Controller method in controller SomeControllerpublic SomeReturnType...
View ArticleCommented Issue: Complex ModelBinding error/issue [904]
Given a classpublic class SearchRepresentation{ public string Search { get; set; } public string Code { get; set; }}and a Controller method in controller SomeControllerpublic SomeReturnType...
View ArticleCommented Issue: FormDataCollectionExtensions provides incomplete context [1287]
FormDataCollectionExtensions (CreateActionContextForModelBinding) uses an incomplete HttpControllerContext, with only the configuration set (it calls the unit test-only constructor). Consumers normally...
View ArticleEdited Issue: FormDataCollectionExtensions provides incomplete context [1287]
FormDataCollectionExtensions (CreateActionContextForModelBinding) uses an incomplete HttpControllerContext, with only the configuration set (it calls the unit test-only constructor). Consumers normally...
View ArticleEdited Issue: ApiExplorer should add query parameters for complex FromUri...
Currently the ApiExplorer handles adding query parameters to the RelativePath, but only for simple types. It should also handle this for complex FromUri types. Going one level deep on the properties is...
View ArticleEdited Feature: Client-side validation of [MaxLength] [1476]
Client-side validation is enabled for the StringLengthAttribute. Could it also be enabled for...
View ArticleEdited Issue: GenerationRoute does not return the same values as innerRoute...
Hi,properties (_RouteTemplate_, _Defaults_, _Constraints_, _DataTokens_ and _Handler_) of the __GenerationRoute__ from System.Web.Http.Routing should return the same values as innerRoute. The...
View ArticleCreated Release: v5.2 Preview
ASP.NET MVC 5.2, Web API 2.2, and Web Pages 3.2 Preview release.
View ArticleEdited Unassigned: SampleGeneration in HelpPage not working for PageResult...
On the following page it's described that for non-OData formats it is possible to support next-page links and inline count, by wrapping the query results in a PageResult<T> object....
View ArticleCommented Unassigned: SampleGeneration in HelpPage not working for PageResult...
On the following page it's described that for non-OData formats it is possible to support next-page links and inline count, by wrapping the query results in a PageResult<T> object....
View ArticleEdited Unassigned: QueryableAttribute does not work when result model...
This initially looked like an Entity Framework problem, but the fact that the problem only occurs when OData parameters are included in the request makes me think it's probably an issue with the...
View ArticleEdited Feature: Provide ability to supply friendly Title for actions [520]
Currently we use the name of the Action even for the Title when advertising them. Provide ability to supply friendly Title for actions.Example(the title "Create Order" below):--------{"d":{...
View ArticleEdited Issue: Conventional builder should throw error when it cannot find a...
In this scenario, I generated a DbFirst model from Northwind database. For the following 2 classes which were autogenerated, the model builder is not able to figure out the keys(as expected), but the...
View Article