File tree Expand file tree Collapse file tree
java/com/keybox/manage/socket Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 <modelVersion >4.0.0</modelVersion >
55 <groupId >com.keybox</groupId >
66 <artifactId >keybox</artifactId >
7- <version >2.15.25 </version >
7+ <version >2.15.26 </version >
88 <packaging >war</packaging >
99 <name >KeyBox</name >
1010 <properties >
Original file line number Diff line number Diff line change 3636/**
3737 * class to run commands and start thread to send web socket terminal output
3838 */
39- @ ServerEndpoint (value = "/terms.ws" , configurator = GetHttpSessionConfigurator .class )
39+ @ ServerEndpoint (value = "/admin/ terms.ws" , configurator = GetHttpSessionConfigurator .class )
4040@ SuppressWarnings ("unchecked" )
4141public class SecureShellWS {
4242 private HttpSession httpSession ;
Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ $(document).ready(function () {
287287 } else {
288288 ws_uri = " ws:" ;
289289 }
290- ws_uri += " //" + loc .host + ' /terms.ws?t=' + new Date ().getTime ();
290+ ws_uri += " //" + loc .host + loc . pathname + ' /.. /terms.ws?t=' + new Date ().getTime ();
291291
292292 var connection = new WebSocket (ws_uri);
293293
You can’t perform that action at this time.
0 commit comments