[opencms-dev] Cannot create files with two slashes in name --

Ladislav Kulhanek ladislav.kulhanek at gmail.com
Wed Aug 14 14:09:26 CEST 2013


Hello,

these transformations are defined in the file opencms-vfs.xml, in the
element <filetranslations>. Multiple slashes are transformed by this rule:
<translation>s#-+#-#g</translation> But I don't know purpose of this rule,
i think two or more slashes may not cause a problem.

L




2013/8/13 Mathias Lin <mail at mathiaslin.com>

> When I try to create a file (container page) in OpenCms with a name that
> has two consecutive slashes in it, OpenCms removes one of them.
>
> i.e. test--123.html becomes test-123.html
>
> Is that on purpose or any specific reason for that?
>
> (OpenCms 8.5)
>
> Thanks,
> Mathias
>
>
>
> _______________________________________________
> 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/20130814/6ad9a0a0/attachment.htm>


More information about the opencms-dev mailing list