aspnet / AspNetWebStack

ASP.NET MVC 5.x, Web API 2.x, and Web Pages 3.x (not ASP.NET Core)
Other
858 stars 354 forks source link

System.Net.Http.FormattingUtilities missed RFC 850 #187

Closed K1vs closed 6 years ago

K1vs commented 6 years ago

System.Net.Http.FormattingUtilities.TryParseDate is used for cookie expire date parsing, but doesn't support RFC 850 (ddd, d-MMM-yyyy H:m:s 'GMT') format. Same issue in Core was fixed by https://github.com/aspnet/HttpAbstractions/pull/897/commits/b41d8656d5c6c522f9966793214b67753b24331a

dougbu commented 6 years ago

@bhukivskyi thank-you for reporting this issue. We do not think this is a priority at the moment.

Feel free to submit a PR to fix this.

TKharaishvili commented 6 years ago

PR - https://github.com/aspnet/AspNetWebStack/pull/196

dougbu commented 6 years ago

e0f1f1338e