jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Lietz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3727) enable CORS preflight requests on AbstractWebdavServlet
Date Mon, 17 Feb 2014 18:59:20 GMT

    [ https://issues.apache.org/jira/browse/JCR-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13903446#comment-13903446
] 

Oliver Lietz commented on JCR-3727:
-----------------------------------

The preflight request is handled by the browser without user interaction before doing not-so-simple
(advanced) requests.
Using a general servlet as you mentioned doesn't help when you want different headers for
different resources - and not sure if it would work at all. The AbstractWebdavServlet should
support CORS with minimal hooks - maybe configurable.

> enable CORS preflight requests on AbstractWebdavServlet
> -------------------------------------------------------
>
>                 Key: JCR-3727
>                 URL: https://issues.apache.org/jira/browse/JCR-3727
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-webdav
>    Affects Versions: 2.4.5, 2.6.5, 2.7.5
>            Reporter: Oliver Lietz
>              Labels: CORS
>         Attachments: JCR-3727-2.4.diff, JCR-3727-2.4.diff
>
>
> see http://www.w3.org/TR/cors/



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message