Summary: | javax.websocket.server.ServerContainer.addEndpoint(Class<?> endpointClass) throws DeploymentException | ||
---|---|---|---|
Product: | Tomcat 8 | Reporter: | Polina Georgieva <poli.m.georgieva> |
Component: | WebSocket | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 8.5.x-trunk | ||
Target Milestone: | ---- | ||
Hardware: | PC | ||
OS: | All | ||
Attachments: | Test application and patch. |
Description
Polina Georgieva
2019-06-20 12:16:03 UTC
Checking for the same class is too broad. There are invalid circumstances (e.g. duplicate programmatic deployment) that would then be allowed. I'm working on implementing a narrower check. Thanks for the report. I'd missed that in the spec. Fixed in: - master for 9.0.22 onwards - 8.5.x for 8.5.43 onwards - 7.0.x for 7.0.95 onwards |