This is an automated email from the ASF dual-hosted git repository.
markt-asf pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.1.x by this push:
new 6d38d21ef9 Review "Remove stray raw path entry added to the WebSocket
template..."
6d38d21ef9 is described below
commit 6d38d21ef98f5361c6ce00dffb9f7536cbb3a784
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 5e7f341aa9..7291bd1eb4 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]