View Issue Details

IDProjectCategoryView StatusLast Update
0015602phplist applicationHTML Email Supportpublic23-05-12 13:39
Reportermichiel 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.10.12 
Target Version4.0.xFixed in Version2.11.7 
Summary0015602: Domain name is not added in 'src' attribute in 'img' tags
DescriptionWhen embedding an image with FCKeditor, the url of the image source is inserted as "/uploadimages/myimage.jpg" instead of "http://www.mydomain.com/uploadimages/myimage.jpg".

Workaround:
In admin/FCKeditor/editor/filemanager/connectors/phplist/basexml.php line 56:
Replace:
echo '<CurrentFolder path="' . ConvertToXmlAttribute( $currentFolder ) . '" url="' . ConvertToXmlAttribute( GetUrlFromPath( $resourceType, $currentFolder, $command ) ) . '" />' ;
With:
$serverURL = "http://".$_SERVER['HTTP_HOST'];
echo '<CurrentFolder path="' . ConvertToXmlAttribute( $currentFolder ) . '" url="' . ConvertToXmlAttribute( $serverURL . GetUrlFromPath( $resourceType, $currentFolder, $command ) ) . '" />' ;
TagsNo tags attached.

Relationships

related to 0015537 resolvedmichiel Domain name is not added in 'src' attribute in 'img' tags 

Activities

There are no notes attached to this issue.