View Issue Details

IDProjectCategoryView StatusLast Update
0018551phplist applicationMessage Send Processpublic10-05-17 19:47
Reporterduncanc 
PrioritynormalSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Product Version3.3.1 
Target VersionFixed in Version3.3.2 
Summary0018551: Adding absolute resources
DescriptionWhen fetching a web page for the body of an email the function addAbsoluteResources() is used to ensure that urls in the web page, such as for images, are complete. The function doesn't handle the case of a url missing only the scheme. For example when fetching www.bbc.co.uk something like

img src="//ichef.bbci.co.uk/images/ic/160xn/p0306tt8.png"

is changed to

img src="http://www.bbc.co.uk//ichef.bbci.co.uk/images/ic/160xn/p0306tt8.png"

instead of

img src="http://ichef.bbci.co.uk/images/ic/160xn/p0306tt8.png"
TagsNo tags attached.

Activities