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
0015537phplist applicationHTML Email Supportpublic01-09-10 18:5129-04-11 22:25
Reportergfinkelstein 
PriorityhighSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
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.
Attached Files

- Relationships
related to 0015602resolvedmichiel 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