[opencms-dev] Relative URL converted to absolute URLs

Ladislav Kulhanek ladislav.kulhanek at gmail.com
Tue Apr 23 16:58:38 CEST 2013


Hello Christian,

it might be that problem:
http://lists.opencms.org/pipermail/opencms-dev/2013q1/037879.html

Best Regards

Ladislav


2013/4/23 Christian Esbensen <che at tmnet.dk>

> 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
>
>
> <http://www.tmnet.dk>
> Niels Hemmingsens Gade 9
> 1153 København K | Denmark
> +45 3344 8555 | www.tmnet.dk
>
> <https://www.facebook.com/pages/Theilgaard-Mortensen/65193922173> <http://www.linkedin.com/company/theilgaard-mortensen-a-s>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20130423/00b1eb98/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/00b1eb98/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/00b1eb98/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/00b1eb98/attachment-0002.jpe>


More information about the opencms-dev mailing list