On 14 Apr 2016, at 17:55, Thomas Mortagne <thomas.mortagne(a)xwiki.com> wrote:
On Thu, Apr 14, 2016 at 4:52 PM, Marius Dumitru Florea
<mariusdumitru.florea(a)xwiki.com> wrote:
On Thu, Apr 14, 2016 at 5:43 PM, Vincent Massol
<vincent(a)massol.net> wrote:
> Hi devs,
>
> I’m implementing
http://jira.xwiki.org/browse/XWIKI-10375 ("Refactor the
> temporary resource concept inside the Resource module”) and I need to
> define a URL format for the new “tmp” resource type.
>
> I’m proposing the following:
>
>
> http://<server>/<context>/tmp/<module id>/<serialized owner
document
> reference>/<module-dependent resource path>
>
Serialized document reference uses backslash to escape special characters
which breaks the URL in Tomcat for security reasons.
Badly configured Tomcat does not like slash but are you sure about backslash ?
Yes, it’s both.