[opencms-dev] Relative URL converted to absolute URLs
Christian Esbensen
che at tmnet.dk
Tue Apr 23 16:12:29 CEST 2013
Hi
I have run into a problem where relative URLs in my OpenCms resources are
converted to absolute URLs when saving.
Does anyone know a way to prevent OpenCms from prefixing relative URLs,
created by the user in the editor, to absolute ones.
Example:
I have a page that fetches content from OpenCms and displays this. Not all
of the page are from OpenCms but only the content. This content might
contain a relative URL to somewhere else on the site. As OpenCms is on
localhost, this URL is now prefixed with localhost (plus port and so on.)
Hope you see my problem and that anyone know of a solution.
I use OpenCms 8.0.4.
Med venlig hilsen/Best Regards
Christian Esbensen
IT Consultant
E-mail: che at tmnet.dk
Mobile: +45 6085 4294
Niels Hemmingsens Gade 9
1153 København K | Denmark
+45 3344 8555 | www.tmnet.dk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130423/86445c36/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 4763 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130423/86445c36/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1151 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130423/86445c36/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 1175 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130423/86445c36/attachment-0002.jpe>
More information about the opencms-dev
mailing list