You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2021/07/07 14:24:07 UTC

[tomcat] branch 10.0.x updated: Remove hack required to pass TCK. Test was successfully challenged.

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/10.0.x by this push:
     new 1e460f9  Remove hack required to pass TCK. Test was successfully challenged.
1e460f9 is described below

commit 1e460f9d9a85691ab722a4edf82a1778cbcec139
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Wed Jul 7 15:23:11 2021 +0100

    Remove hack required to pass TCK. Test was successfully challenged.
    
    https://github.com/eclipse-ee4j/servlet-api/issues/385
    also
    https://github.com/eclipse-ee4j/servlet-api/issues/309
---
 java/org/apache/catalina/core/ApplicationDispatcher.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/java/org/apache/catalina/core/ApplicationDispatcher.java b/java/org/apache/catalina/core/ApplicationDispatcher.java
index 7175449..a87d8ad 100644
--- a/java/org/apache/catalina/core/ApplicationDispatcher.java
+++ b/java/org/apache/catalina/core/ApplicationDispatcher.java
@@ -607,9 +607,7 @@ final class ApplicationDispatcher implements AsyncDispatcher, RequestDispatcher
             wrequest.setQueryString(queryString);
             wrequest.setQueryParams(queryString);
         }
-        if (!Globals.STRICT_SERVLET_COMPLIANCE) {
-            wrequest.setMapping(mapping);
-        }
+        wrequest.setMapping(mapping);
 
         invoke(state.outerRequest, state.outerResponse, state);
     }

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org