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 2018/07/31 07:56:40 UTC

[Bug 62585] CorsFilter `supportsCredentials` and `anyOriginAllowed` cannot co-exist

https://bz.apache.org/bugzilla/show_bug.cgi?id=62585

Fuwei Chin <fu...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Fuwei Chin <fu...@gmail.com> ---
Sorry the submitted filter XML comes from a revised edition.

The original edition of filter XML is like

> <filter>
> 	<filter-name>cors</filter-name>
> 	<filter-class>org.apache.catalina.filters.CorsFilter</filter-class>
> 	<init-param>
> 		<param-name>cors.allowed.origins</param-name>
> 		<param-value>*</param-value>
> 	</init-param>
> 	<!-- ... -->
> 	<init-param>
> 		<param-name>cors.support.credentials</param-name>
> 		<param-value>true</param-value>
> 	</init-param>
> </filter>

-- 
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