Rich Text Editor (Xinha) always set URL to relative path.
---------------------------------------------------------

                 Key: ROL-1782
                 URL: https://issues.apache.org/roller/browse/ROL-1782
             Project: Roller
          Issue Type: Bug
          Components: User Interface - General
         Environment: I used it under OpenSolaris 2009-11, with Firefox 3.
            Reporter: Pierre-antoine Berreur
            Assignee: Roller Unassigned


I created this entry via the Rich Text Editor on blogs.sun.com:  
http://blogs.sun.com/TheGlobosso/entry/opensso_home_page_in_french. I've added 
there an image that I've uploaded before to my blog (File Upload section).

The html code generated is <p><img 
src="/TheGlobosso/resource/French/logo_French_link.png" /> </p> , and it works 
fine on my blog. The problem is on the OpenSSO Planet associated: the image is 
not displayed there.

This is because the image has a relative and not an absolute one. The problem 
is: even changing manually the html code, I can not have a absolute path for my 
image. 
when I change the <img src="/TheGlobosso/resource/French/logo_French_link.png" 
/> to <img 
src="http://blogs.sun.com/TheGlobosso/resource/French/logo_French_link.png"; />, 
either by editing the html code, or either clicking on the image 'Insert/Modify 
Image' button, and then save, the code is modified back to the relative path.

I tried do set my URL to an absolute path via the normal text editor, and it 
worked: image is now well displayed in both my blog and the planet, and the URL 
is not rested by default to a relative one.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to