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

            Bug ID: 69210
           Summary: debug message no longer appearing when Cors filter
                    failure is detected
           Product: Tomcat 10
           Version: 10.1.20
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: thebluemount...@gmail.com
  Target Milestone: ------

encountering CORS issue in an application with access log returning 403 http
code, i noticed the tomcat will no longer output debugging message to confirm
Cors filter issue.

looking at the code, it seems the issue in method,
org.apache.catalina.filters.CorsFilter.handleInvalidCORS (), appeared since
commit 'Missing strings mostly'
(https://github.com/apache/tomcat/commit/ee246168dacc262f5ca87718ab913b48499194e5):
we are no longer displaying message in the log.

@ line 353, change was:
sm.getString("corsFilter.invalidRequest", origin, method,
accessControlRequestHeaders);

it might rather be:

log.debug( sm.getString("corsFilter.invalidRequest", origin, method,
accessControlRequestHeaders) );

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