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/19 02:22:05 UTC

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

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


##########
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:
   You are using spaces and it should be tabs :)
   You can turn on display of hidden chars .. :))



-- 
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