You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2014/11/03 21:17:31 UTC
[Bug 57178] Add CorsFilter configuration option to allow requests
with Origin "null"
https://issues.apache.org/bugzilla/show_bug.cgi?id=57178
--- Comment #1 from Gregor Zurowski <gz...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org