Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInfko <recollectionforgot@gmail.com>2017-08-22 16:11:43 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2017-08-22 16:11:43 +0300
commitfc684ff8395b049f56814961cf47a2816e6bb58a (patch)
tree97beeec0309fd213a61e72d7b4281a498fe185f1 /mcs/class/System.ServiceModel.Web
parent3c9cac96f8875a32cbe4cd4e0869eb3cea673766 (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.cs1
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"};