Bug 1550945 - Part 8: Correction of pop handling, hint by :emk. r=me
authorJorg K <jorgk@jorgk.com>
Thu, 30 May 2019 10:24:44 +0200
changeset 35721 bfac42da27a2dc34ba30781fc08bd97155933fdc
parent 35720 aff89fb3045ea88de39bb83d6006a2387c37cea7
child 35722 6d4ef59e9ed0a36b16f5c04ff90ee14cad6c340e
push id392
push userclokep@gmail.com
push dateMon, 02 Sep 2019 20:17:19 +0000
reviewersme
bugs1550945
Bug 1550945 - Part 8: Correction of pop handling, hint by :emk. r=me
mailnews/base/util/nsNewMailnewsURI.cpp
--- a/mailnews/base/util/nsNewMailnewsURI.cpp
+++ b/mailnews/base/util/nsNewMailnewsURI.cpp
@@ -33,17 +33,17 @@ nsresult NS_NewMailnewsURI(nsIURI** aURI
     return nsImapService::NewURI(aSpec, aCharset, aBaseURI, aURI);
   }
   if (scheme.EqualsLiteral("smtp") || scheme.EqualsLiteral("smtps")) {
     return nsSmtpService::NewSmtpURI(aSpec, aCharset, aBaseURI, aURI);
   }
   if (scheme.EqualsLiteral("mailto")) {
     return nsSmtpService::NewMailtoURI(aSpec, aCharset, aBaseURI, aURI);
   }
-  if (scheme.EqualsLiteral("pop3")) {
+  if (scheme.EqualsLiteral("pop") || scheme.EqualsLiteral("pop3")) {
     return nsPop3Service::NewURI(aSpec, aCharset, aBaseURI, aURI);
   }
   if (scheme.EqualsLiteral("news") || scheme.EqualsLiteral("snews") ||
       scheme.EqualsLiteral("news-message") || scheme.EqualsLiteral("nntp")) {
     return nsNntpService::NewURI(aSpec, aCharset, aBaseURI, aURI);
   }
   if (scheme.EqualsLiteral("cid")) {
     return nsCidProtocolHandler::NewURI(aSpec, aCharset, aBaseURI, aURI);