Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
6.14.0
-
None
Description
When configuration the WebSocketFilter to map to '/test/*'
for example
<code language="xml">
<filter-mapping>
<filter-name>websocket.filter</filter-name>
<url-pattern>/test/*</url-pattern>
</filter-mapping>
</code>
Will result in not being able to establish a websocket connection, because of the following line in wicket-websocket-jquery.js :
<code>
line 47: url = protocol + '//' + document.location.host + Wicket.WebSocket.contextPath + '/wicket/websocket';
</code>
This line doesn't take in account the filter mapping.