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

Frank Kline <frank.kl...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Frank Kline <frank.kl...@gmail.com> ---
This isn't a help request; it's a bug report.

Irrespective of allowed methods, the preflight filter evaluates the following:
"if (method != null && HTTP_METHODS.contains(method)) {" as well as "else if
(COMPLEX_HTTP_METHODS.contains(method)) {"

Neither HTTP_METHODS nor COMPLEX_HTTP_METHODS contain "PATCH" hence, the
original definition of "CORSRequestType requestType =
CORSRequestType.INVALID_CORS;" is used.

Adding "PATCH" to both HTTP_METHODS and COMPLEX_HTTP_METHODS just purely
enables the use of the allowed methods filter param.

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