You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by GitBox <gi...@apache.org> on 2022/04/18 14:03:09 UTC

[GitHub] [wicket] reiern70 commented on a diff in pull request #511: [WICKET-6974] return correct context path

reiern70 commented on code in PR #511:
URL: https://github.com/apache/wicket/pull/511#discussion_r852138458


##########
wicket-native-websocket/wicket-native-websocket-javax/src/main/java/org/apache/wicket/protocol/ws/javax/JavaxUpgradeHttpRequest.java:
##########
@@ -77,6 +78,7 @@ public JavaxUpgradeHttpRequest(final Session session, EndpointConfig endpointCon
 		this.userPrincipal = session.getUserPrincipal();
 		Object requestURI = session.getRequestURI();
 		this.requestUri = requestURI != null ? requestURI.toString() : "";
+        this.contextPath = httpSession.getServletContext().getContextPath();

Review Comment:
   Hum... locally it looks Ok :-(



-- 
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-unsubscribe@wicket.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org