[jira] [Created] (JCR-4146) json extension is removed by AbstractWebdavServlet on COPY request
Ana Vinatoru created JCR-4146:
Summary: json extension is removed by AbstractWebdavServlet on COPY request
URL: https://issues.apache.org/jira/browse/JCR-4146 Project: Jackrabbit Content Repository
Issue Type: Bug
Affects Versions: 2.15.3
Reporter: Ana Vinatoru
This issue was first observed via crxDE: the user did a copy / paste on a node with the .json extension (let's say test.json). After saving, the new node was named "Copy of test" instead of "Copy of test.json".
I tracked the request to the AbstractWebdavServlet.doCopy method - and this is where the .json extension seems to be lost.
The Destination header sent by crxde includes the extension, but the new resource created in doCopy does not have it.
The request looked like this: