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 34292 a65a5f531d4056eb8636579ec8d14937e972ee38
parent 34291 2774b8292eea7452baafc55d0261a718d1acdad2
child 34293 954fd69c1e3c2ccf7b4bdd1f32b53d261b55a9ef
push id389
push userclokep@gmail.com
push dateMon, 18 Mar 2019 19:01:53 +0000
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);