[MAGNOLIA-2141] Email: avoid lookup of remote dtds when parsing page content Created: 18/May/08  Updated: 23/Jan/13  Resolved: 18/May/08

Status: Closed
Project: Magnolia
Component/s: mail
Affects Version/s: 3.5.4
Fix Version/s: 3.5.6

Type: Improvement Priority: Major
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

For html emails MagnoliaEmail.filterImages() parses the page xhtml in order to replace image links.
This trigger the loading of the xhtml dtds from the network, and could be a problem if the server can't make external http calls.



 Comments   
Comment by Fabrizio Giustina [ 18/May/08 ]

Solved by adding a dummy entityResolver which doesn't load any read dtd

Generated at Mon Feb 12 03:33:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.