phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015602phplist applicationHTML Email Supportpublic29-04-11 21:2423-05-12 12:39
Reportermichiel 
PriorityhighSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
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.
Attached Files

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

-  Notes
There are no notes attached to this issue.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker