Bug #5207

Mail of external email from collector is not completely clean

Added by tsmr over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:01/30/2015
Priority:NormalDue date:
Assignee:tsmr% Done:

100%

Category:Notifications / Alerts
Target version:0.85.3

Description

Into ticket description : <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">

$tkt['content'] = $this->cleanMailContent($tkt['content']); from mailcollector.class.php

Must modify Html::clean and add
$search = array('@<!DOCTYPE[^>]*?>@si', // Strip out !DOCTYPE
);
$value = preg_replace($search, '', $value);

Associated revisions

Revision 23322
Added by tsmr over 6 years ago

Mail of external email from collector is not completely clean. fix #5207

History

#1 Updated by tsmr over 6 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r23322.

#2 Updated by moyo over 6 years ago

  • Assignee set to tsmr

#3 Updated by moyo over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF