Bug 1518150 - Don't sanitize folder names from ompl import. r=mkmelin
authoralta88 <alta88@gmail.com>
Tue, 22 Jan 2019 18:50:13 -0700
changeset 33438 a65a5f531d40
parent 33437 2774b8292eea
child 33439 954fd69c1e3c
push id2368
push userclokep@gmail.com
push dateMon, 28 Jan 2019 21:12:50 +0000
treeherdercomm-beta@56d23c07d815 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmkmelin
bugs1518150
Bug 1518150 - Don't sanitize folder names from ompl import. r=mkmelin
mailnews/extensions/newsblog/content/feed-subscriptions.js
--- a/mailnews/extensions/newsblog/content/feed-subscriptions.js
+++ b/mailnews/extensions/newsblog/content/feed-subscriptions.js
@@ -2663,21 +2663,17 @@ var FeedSubscriptions = {
           FeedUtils.addFeed(feed);
           // Feed correctly added.
           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 " +
                                 aParentFolder.filePath.path);