reiern70 commented on code in PR #1223: URL: https://github.com/apache/wicket/pull/1223#discussion_r2270312785
########## wicket-native-websocket/wicket-native-websocket-javax/src/main/java/org/apache/wicket/protocol/ws/javax/WicketServerEndpointConfig.java: ########## @@ -127,18 +128,33 @@ public void modifyHandshake(ServerEndpointConfig sec, HandshakeRequest request, // do not store null keys/values because Tomcat 8 uses ConcurrentMap for UserProperties Map<String, Object> userProperties = sec.getUserProperties(); + + URI requestURI = request.getRequestURI(); + LOG.trace("requestURI: {}", requestURI); + if (requestURI != null) + { + userProperties.put("requestURI", requestURI); + String path = requestURI.getPath(); Review Comment: @martin-g I think this should always work. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@wicket.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org