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

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


The following commit(s) were added to refs/heads/11.0.x by this push:
     new 48af999b06 Review "Remove stray raw path entry added to the WebSocket 
template..."
48af999b06 is described below

commit 48af999b060f9707c572ece18bf82d8b3aa90090
Author: Mark Thomas <[email protected]>
AuthorDate: Thu Nov 5 10:16:07 2026 +0000

    Review "Remove stray raw path entry added to the WebSocket template..."
    
    Use correct classed in error message
---
 java/org/apache/tomcat/websocket/server/WsServerContainer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/org/apache/tomcat/websocket/server/WsServerContainer.java 
b/java/org/apache/tomcat/websocket/server/WsServerContainer.java
index 2492af2700..dcee5f8ce9 100644
--- a/java/org/apache/tomcat/websocket/server/WsServerContainer.java
+++ b/java/org/apache/tomcat/websocket/server/WsServerContainer.java
@@ -172,7 +172,7 @@ public class WsServerContainer extends WsWebSocketContainer 
implements ServerCon
                     } else {
                         // Duplicate uriTemplate;
                         throw new 
DeploymentException(sm.getString("serverContainer.duplicatePaths", path,
-                                sec.getEndpointClass(), 
sec.getEndpointClass()));
+                                oldMatch.config().getEndpointClass(), 
sec.getEndpointClass()));
                     }
                 }
             } else {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to