Bug 1518150 - Don't sanitize folder names from ompl import. r=mkmelin a=jorgk
authoralta88 <alta88@gmail.com>
Tue, 22 Jan 2019 18:50:13 -0700
changeset 32101 cc07422499af2dfce26d2169e11d930e2632fc0f
parent 32100 b41b63991f5cfab8797536be81c8ff0970dbbe67
child 32102 770071a0ef2e87524d75a123d4cbcbdcc9562363
push id162
push usermozilla@jorgk.com
push dateSat, 09 Mar 2019 10:20:28 +0000
treeherdercomm-esr60@62a9df6d2883 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin, jorgk
bugs1518150
Bug 1518150 - Don't sanitize folder names from ompl import. r=mkmelin a=jorgk
mailnews/extensions/newsblog/content/feed-subscriptions.js
--- a/mailnews/extensions/newsblog/content/feed-subscriptions.js
+++ b/mailnews/extensions/newsblog/content/feed-subscriptions.js
@@ -2699,21 +2699,17 @@ var FeedSubscriptions = {
           feedsAdded++;
           lastFolder = feed.folder;
         }
         else
         {
           // A folder outline. If a folder exists in the account structure at
           // the same level as in the opml structure, feeds are placed into the
           // existing folder.
-          let defaultName = FeedUtils.strings.GetStringFromName("ImportFeedsNew");
-          let folderName = FeedUtils.getSanitizedFolderName(aParentFolder,
-                                                            outlineName,
-                                                            defaultName,
-                                                            false);
+          let folderName = outlineName;
           try {
             feedFolder = aParentFolder.getChildNamed(folderName);
           }
           catch (ex) {
             // Folder not found, create it.
             FeedUtils.log.info("importOPMLOutlines: creating folder - '" +
                                 folderName + "' from outlineName - '" +
                                 outlineName + "' in parent folder " +