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