You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2022/09/12 09:11:58 UTC

[jena] branch main updated: GH-1516: let CrossOriginFilter handle OPTIONS request

This is an automated email from the ASF dual-hosted git repository.

andy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena.git


The following commit(s) were added to refs/heads/main by this push:
     new eff25b646c GH-1516: let CrossOriginFilter handle OPTIONS request
     new 629a744270 Merge pull request #1529 from AKSW/cors-authn
eff25b646c is described below

commit eff25b646caf076726a0b8599959569fa4e33d6f
Author: Simon Bin <sb...@informatik.uni-leipzig.de>
AuthorDate: Sun Sep 11 22:35:26 2022 +0200

    GH-1516: let CrossOriginFilter handle OPTIONS request
---
 jena-fuseki2/jena-fuseki-webapp/src/main/webapp/WEB-INF/web.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/jena-fuseki2/jena-fuseki-webapp/src/main/webapp/WEB-INF/web.xml b/jena-fuseki2/jena-fuseki-webapp/src/main/webapp/WEB-INF/web.xml
index 1af69cc362..8d12477fa3 100644
--- a/jena-fuseki2/jena-fuseki-webapp/src/main/webapp/WEB-INF/web.xml
+++ b/jena-fuseki2/jena-fuseki-webapp/src/main/webapp/WEB-INF/web.xml
@@ -64,6 +64,10 @@
       <param-name>exposedHeaders</param-name>
       <param-value>Access-Control-Allow-Origin,Access-Control-Allow-Credentials</param-value>
     </init-param>
+    <init-param>
+      <param-name>chainPreflight</param-name>
+      <param-value>false</param-value>
+    </init-param>
   </filter>
   
   <filter-mapping>