View Issue Details

IDProjectCategoryView StatusLast Update
0015537phplist applicationHTML Email Supportpublic29-04-11 21:25
Reportergfinkelstein 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.10.12 
Target VersionFixed in Version2.10.14 
Summary0015537: 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 0015602 resolvedmichiel Domain name is not added in 'src' attribute in 'img' tags 

Activities

There are no notes attached to this issue.