https://issues.apache.org/bugzilla/show_bug.cgi?id=57178

--- Comment #1 from Gregor Zurowski <gzurow...@apache.org> ---
Created attachment 32185
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32185&action=edit
Patch file for Bug #57178

The attached patch adds a new CorsFilter configuration option to explicitly
allow "null" origins:

<filter>
   <filter-name>CorsFilter</filter-name>
   <filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
   <init-param>
      <param-name>cors.allow.nullorigin</param-name>
      <param-value>true</param-value>        
   </init-param>
</filter>

When enabled, requests with "null" origins are processed as valid CORS
requests. (The option is disabled by default.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to