This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I generated the CORS filter from template, and got the following error in the browser: "Request header field X-Requested-With is not allowed by Access-Control-Allow-Headers." The workaround was to add X-Requested-With to the value of the Access-Control-Allow-Headers header, see also this somewhat similar issue at StackOverflow: http://stackoverflow.com/questions/5027705/error-in-chrome-content-type-is-not-allowed-by-access-control-allow-headers Should we generate different code by default?
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss