From 6c829c24d77715bc2f20080665280f42bc868f28 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Thu, 19 Oct 2017 15:25:20 +0200 Subject: [PATCH] escaping the subject isn't needed in the mbox importer --- script/import_scripts/mbox/importer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/import_scripts/mbox/importer.rb b/script/import_scripts/mbox/importer.rb index 71328df3a71..1c55804a984 100644 --- a/script/import_scripts/mbox/importer.rb +++ b/script/import_scripts/mbox/importer.rb @@ -118,7 +118,7 @@ module ImportScripts::Mbox def map_first_post(row) mapped = map_post(row) mapped[:category] = category_id_from_imported_category_id(row['category']) - mapped[:title] = CGI.escapeHTML(row['subject'].strip)[0...255] + mapped[:title] = row['subject'].strip[0...255] mapped end