Clone wiki

CorsFilter / Home

Notice

As of 2013-06-11, Apache Tomcat version 7.0.41 includes a CORS filter. From the release notes:

This release contains a number of bug fixes and improvements compared to version 7.0.40. The notable changes include:

  • Add a Servlet Filter that implements CORS. Patch provided by Mohit Soni.

This was implemented and resolved with bug #55046.

What this means for this CorsFilter project

Since Apache is providing a filter with Tomcat, and I primarily use Tomcat, it's likely that I won't spend much effort on this implementation. I'll maintain pull requests and fix bugs as they are reported, but I'm not promising to do so quickly.

2015-05-12

The original author has been keeping his repository up-to-date. If you really want to use this implementation, you should use his.

However, I have written my own implementation from scratch that is much simpler and can be configured via JavaConfig -- https://github.com/jsumners/cors-filter

Take your pick. This repository is officially dead.

Updated