diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/src/main/java/com/vaadin/client/communication/DefaultConnectionStateHandler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/main/java/com/vaadin/client/communication/DefaultConnectionStateHandler.java b/client/src/main/java/com/vaadin/client/communication/DefaultConnectionStateHandler.java index af3f229312..f98165b105 100644 --- a/client/src/main/java/com/vaadin/client/communication/DefaultConnectionStateHandler.java +++ b/client/src/main/java/com/vaadin/client/communication/DefaultConnectionStateHandler.java @@ -421,7 +421,8 @@ public class DefaultConnectionStateHandler implements ConnectionStateHandler { + "(:\\s*(.*?))?(\\s|$)") .exec(responseText); if (refreshToken != null) { - WidgetUtil.redirect(refreshToken.getGroup(2)); + WidgetUtil.redirect(getConnection() + .translateVaadinUri(refreshToken.getGroup(2))); } else { handleUnrecoverableCommunicationError( "Invalid JSON response from server: " + responseText, |