jsessionid in URL

Hi

I have just migrated my application to Vaadin 7 and I have the following problem:

If a ;jsessionid=xxx gets injected into the URL then any click inside the application results in a communication error. E.g.

Communication error: (SyntaxError) stack: i6b@http://myserver/mycontext/myapp;jsessionid=F8FD0B1026A6DF2C49C79CB0B03D91F1?debug#!/cmd=newCity/lang=en:257 A5b@http://myserver/mycontext/myapp;jsessionid=F8FD0B1026A6DF2C49C79CB0B03D91F1?debug#!/cmd=newCity/lang=en:33 T6b@http://myserver/mycontext/myapp;jsessionid=F8FD0B1026A6DF2C49C79CB0B03D91F1?debug#!/cmd=newCity/lang=en:0 ay@http://myserver/mycontext/myapp;jsessionid=F8FD0B1026A6DF2C49C79CB0B03D91F1?debug#!/cmd=newCity/lang=en:136 oy@http://myserver/mycontext/myapp;jsessionid=F8FD0B1026A6DF2C49C79CB0B03D91F1?debug#!/cmd=newCity/lang=en:0 $2b/c.onreadystatechange<@http://myserver/mycontext/myapp;jsessionid=F8FD0B1026A6DF2C49C79CB0B03D91F1?debug#!/cmd=newCity/lang=en:213 Ak@http://myserver/mycontext/myapp;jsessionid=F8FD0B1026A6DF2C49C79CB0B03D91F1?debug#!/cmd=newCity/lang=en:7 Gk@http://myserver/mycontext/myapp;jsessionid=F8FD0B1026A6DF2C49C79CB0B03D91F1?debug#!/cmd=newCity/lang=en:142 Fk/<@http://myserver/mycontext/myapp;jsessionid=F8FD0B1026A6DF2C49C79CB0B03D91F1?debug#!/cmd=newCity/lang=en:406 fileName: http://myserver/mycontext/myapp;jsessionid=F8FD0B1026A6DF2C49C79CB0B03D91F1?debug#!/cmd=newCity/lang=en lineNumber: 258 columnNumber: 0: syntax error - Original JSON-text: html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=10;chrome=1" /> <style type="text/css">html, body {height:100%;margin:0;}</style> <link rel="shortcut icon" type="image/vnd.microsoft.icon" href="./VAADIN/themes/pg-editor/favicon.ico" /> <link rel="icon" type="image/vnd.microsoft.icon" href="./VAADIN/themes/pg-editor/favicon.ico" /> </head> <body scroll="auto" class=" v-generated-body"> <div id="testedteditor-1842154768" class=" v-app pg-editor"> <div class=" v-app-loading"></div> <noscript> You have to enable javascript in your browser to use an application built with Vaadin. </noscript> </div> <iframe tabindex="-1" id="__gwt_historyFrame" style="position:absolute;width:0;height:0;border:0;overflow:hidden" src="javascript:false"></iframe> <script type="text/javascript" src="./VAADIN/vaadinBootstrap.js"></script> <script type="text/javascript">//<![CDATA[ if (!window.vaadin) alert("Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js"); if (typeof window.__gwtStatsEvent != 'function') { vaadin.gwtStatsEvents = []
; window.__gwtStatsEvent = function(event) {vaadin.gwtStatsEvents.push(event); return true;}; } vaadin.initApplication("testedteditor-1842154768",{ "authErrMsg": { "caption": "Authentication problem", "message": "Take note of any unsaved data, and <u>click here<\/u> to continue." }, "comErrMsg": { "caption": "Communication problem", "message": "Take note of any unsaved data, and <u>click here<\/u> to continue." }, "debug": true, "heartbeatInterval": 300, "sessExpMsg": { "caption": "Session Expired", "message": "Take note of any unsaved data, and <u>click here<\/u> to continue." }, "standalone": true, "theme": "pg-editor", "vaadinDir": "./VAADIN/", "versionInfo": {"vaadinVersion": "7.1.8"}, "widgetset": "hu.pocketguide.editor.app.widgetset.BundleEditorWidgetSet" }); //]]></script> </body> </html>

I have not had this issue with Vaadin 6. Can someone help me understanding/resolving this issue?

Thanks in advance!

This might be related to
#12307
.

The issue is somewhat complex as the standard is vague and different application servers have interpreted it differently.