[ http://jira.magnolia.info/browse/MAGNOLIA-1343?page=all ]

Philipp Bracher resolved MAGNOLIA-1343.
---------------------------------------

    Resolution: Fixed

image links are resolved as absolute path by default now

> Relative image paths produced by <cms:out> result in broken images for 
> certain URLs
> -----------------------------------------------------------------------------------
>
>                 Key: MAGNOLIA-1343
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-1343
>             Project: Magnolia
>          Issue Type: Bug
>          Components: taglibs
>    Affects Versions: 3.0.1
>            Reporter: Miranda Jones
>         Assigned To: Philipp Bracher
>            Priority: Minor
>             Fix For: 3.5 RC2
>
>
> When outputting the content from a fckEdit control with <cms:out>, the link 
> and image paths are made relative by the taglib.  This works ok when 
> accessing the page via a URL like "/foo.html" or "/foo", but when accessing 
> the page via a URL like "/foo/" (with the ending slash) the relative image 
> path results in a broken image.
> To fix in my local environment, I adapted the code from 
> info.magnolia.cms.gui.dialog.DialogFckEdit.convertToView(String), which makes 
> the href and img paths absolute for the fckEdit window, for 
> info.magnolia.cms.taglibs.Out, so that image paths are made absolute when 
> outputting the content with <cms:out>.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to