dotnet/aspnetcore

Review and update form parsing logic

Aperta

#2733 aperta il 2 gen 2018

 (7 commenti) (0 reazioni) (0 assegnatari)C# (10.653 fork)batch import
affected-very-fewarea-networkingbugfeature-http-abstractionshelp wantedseverity-nice-to-have

Metriche repository

Star
 (37.933 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

From @Tratcher on Tuesday, August 26, 2014 12:32:12 PM

src/Microsoft.AspNet.WebUtilities/ParsingHelpers.cs has at least one place where it calls char.IsWhiteSpace, but this allows many strange Unicode characters. Review this parsing code and update it to be more accurate.

Copied from original issue: aspnet/HttpAbstractions#119

Guida contributor