diff options
author | Infko <recollectionforgot@gmail.com> | 2017-08-22 16:11:43 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-08-22 16:11:43 +0300 |
commit | fc684ff8395b049f56814961cf47a2816e6bb58a (patch) | |
tree | 97beeec0309fd213a61e72d7b4281a498fe185f1 /mcs/class/System.ServiceModel.Web | |
parent | 3c9cac96f8875a32cbe4cd4e0869eb3cea673766 (diff) |
[Syndication]Fix Runtime crash when parsing pubTime in RFC822 format (#5416)
Diffstat (limited to 'mcs/class/System.ServiceModel.Web')
-rw-r--r-- | mcs/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mcs/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs b/mcs/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs index cd586fa05c3..398c0d8d7b6 100644 --- a/mcs/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs +++ b/mcs/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs @@ -649,6 +649,7 @@ namespace System.ServiceModel.Syndication string [] rfc822formats = new string [] { "ddd, dd MMM yyyy HH:mm:ss 'Z'", + "ddd, dd MMM yyyy HH:mm:ss 'GMT'", "ddd, dd MMM yyyy HH:mm:ss zzz", "ddd, dd MMM yyyy HH:mm:ss"}; |