https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292015-04-03T09:11:40ZRedmineRedmine - Defect #19537: Broken HTML sanitizer refence breaks email receivinghttps://www.redmine.org/issues/19537?journal_id=627652015-04-03T09:11:40ZTimur Voroshilov
<ul></ul><p>This line @full_sanitizer ||= Rails::Html::FullSanitizer.new works:<br />Ruby 2.0.0<br />Rails 4.2.0<br />Redmine 3.0.1</p>
<p>And normally works on import mail sent by MS Outlook 2013.</p> Redmine - Defect #19537: Broken HTML sanitizer refence breaks email receivinghttps://www.redmine.org/issues/19537?journal_id=628542015-04-06T14:10:57ZRupesh J
<ul></ul><p>This is a new implementation of rails sanitizer, This did not work, So using the old deprecated one, through a GEM.</p>
<p>gem 'rails-deprecated_sanitizer'</p>
<p>Until this is corrected with the rails sanitizer...! :)</p> Redmine - Defect #19537: Broken HTML sanitizer refence breaks email receivinghttps://www.redmine.org/issues/19537?journal_id=629262015-04-08T16:30:33ZPhil Stewart
<ul></ul><p>I've created a Gemfile.local file in my install and added <code>gem 'rails-deprecated_sanitizer'</code>, which works nicely without having to change MailHandler over to the new sanitizer.</p> Redmine - Defect #19537: Broken HTML sanitizer refence breaks email receivinghttps://www.redmine.org/issues/19537?journal_id=633162015-04-24T02:41:32ZToshi MARUYAMA
<ul><li><strong>Target version</strong> set to <i>3.0.2</i></li></ul> Redmine - Defect #19537: Broken HTML sanitizer refence breaks email receivinghttps://www.redmine.org/issues/19537?journal_id=633622015-04-25T08:28:46ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Subject</strong> changed from <i>Broken HTML sanitizer refence breaks redmine:email:receive_imap</i> to <i>Broken HTML sanitizer refence breaks email receiving</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Jean-Philippe Lang</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Fixed in <a class="changeset" title="Removed invalid sanitizer in MailHandler (#19537)." href="https://www.redmine.org/projects/redmine/repository/svn/revisions/14219">r14219</a>, the default Rails sanitizer is now used.</p> Redmine - Defect #19537: Broken HTML sanitizer refence breaks email receivinghttps://www.redmine.org/issues/19537?journal_id=634322015-04-29T08:41:15ZRupesh J
<ul></ul><p>The text striping is not handled.<br />I am getting some unwanted Outlook mail tags. <br />Please let me know if this needs to be reported as another bug ?</p> Redmine - Defect #19537: Broken HTML sanitizer refence breaks email receivinghttps://www.redmine.org/issues/19537?journal_id=634332015-04-29T08:50:54ZRupesh J
<ul><li><strong>File</strong> <a href="/attachments/13571">MailHandler_Strip_sample.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/13571/MailHandler_Strip_sample.png">MailHandler_Strip_sample.png</a> added</li></ul> Redmine - Defect #19537: Broken HTML sanitizer refence breaks email receivinghttps://www.redmine.org/issues/19537?journal_id=634432015-04-29T10:27:36ZToshi MARUYAMA
<ul></ul><p>Rupesh J wrote:</p>
<blockquote>
<p>The text striping is not handled.<br />I am getting some unwanted Outlook mail tags.</p>
</blockquote>
<p>Did it work on Redmine 2.x?</p>
<blockquote>
<p>Please let me know if this needs to be reported as another bug ?</p>
</blockquote>
<p>If it is regression of Redmine 3.0, <br />please create new issue because <a class="version" href="https://www.redmine.org/versions/94">3.0.2</a> was released.</p>
<p>If it is not regression of Redmine 3.0,<br />I think it is duplicate of #13209.</p> Redmine - Defect #19537: Broken HTML sanitizer refence breaks email receivinghttps://www.redmine.org/issues/19537?journal_id=634442015-04-29T10:39:32ZRupesh J
<ul></ul><p>Ok, I will create a regression bug.</p>
It worked in
<ul>
<li>2.6.x </li>
<li>3.0.1 using the gem 'rails-deprecated_sanitizer'</li>
</ul> Redmine - Defect #19537: Broken HTML sanitizer refence breaks email receivinghttps://www.redmine.org/issues/19537?journal_id=634492015-04-29T13:56:38ZToshi MARUYAMA
<ul></ul><p>Thank you for creating <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: HTML Sanitizer not working for Outlook mails (Closed)" href="https://www.redmine.org/issues/19737">#19737</a>.</p>