RE: Preserving relative links in htmlarea - Any solution yet?

"Juliette Mainka" <[email protected]>
Newsgroups gmane.comp.cms.jahia.devel
Organization Atos Origin Integration
Message-ID <[email protected]>
Hello, 
 
I would like to know if a solution for this problem has been found yet, as I
experience a similar problem with the HTMLarea editor: 
 
it automatically replaces relative by absolute links, so I end up with links
pointing to the wrong server when migrating content from one server to
another (authoring to prod server). 
 
Please let me know if you have some more information about this. Thanks. 
 
Regards,
Juliette Mainka

  _____  

From: [email protected] [mailto:[email protected]] 
Sent: lundi 5 décembre 2005 11:34
To: [email protected]
Subject: Preserving relative links in htmlarea?


For "security" reasons we are using https for all logins and when in edit
mode. We have to use relative links to files, images and pages (
/jahia/Jahia/webdav/site/xxx/file.jpg) which is finally handled by the users
web browser.
 
When we toggle between source and wysiwyg-mode (htmlarea) the editor
"helpfully" inserts the protocol (https) and server name and creates
absolute links which does not work after publishing because the 443 is not
available from outside (internet). 
 
Is there any way to fix this by writing a filter or setting some property
somewhere.
 
We are currently using Jahia 4.1.0_01.
 
This would also be problem if you edit on one server (not visible on
internet) and then publish the content on another one. 
 
Regards
/Lars Hagrot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.