You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Vlastimil (JIRA)" <ji...@apache.org> on 2017/03/20 15:39:41 UTC

[jira] [Created] (WICKET-6342) Wrong baseUrl in BaseWebSocketBehavior

Vlastimil created WICKET-6342:
---------------------------------

             Summary: Wrong baseUrl in BaseWebSocketBehavior
                 Key: WICKET-6342
                 URL: https://issues.apache.org/jira/browse/WICKET-6342
             Project: Wicket
          Issue Type: Bug
          Components: wicket-native-websocket
    Affects Versions: 7.6.0
            Reporter: Vlastimil
            Assignee: Martin Grigorov


When the WebSocketBehavior is used on 2 different pages URL of the first page is set as baseUrl and used also in second page.

Problem was introduced with this commit:
https://github.com/apache/wicket/commit/b6225514d9ad35a545750e2930485e212e95ca88

Method WebSocketSettings.getBaseUrl() should not set global baseUrl, but only return current baseUrl if global is not set.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)