Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
1.5.5
-
None
-
Windows 7 64-bit
IE 9, FF 12
Jetty 6, WebSphere AS 7
Description
Preconditions:
- disabled cookies
- CryptoMapper enabled (set as root mapper)
When contributing Javascript (CSS contributions are affected too) to head, URLs are rendered WITHOUT jsessionid. Thus CryptoMapper can't find its key in session when cookies are disabled. This affects wicket-ajax.js contribution in AbstractDefaultAjaxBehavior too! So Wicket is not working at all.
I found out, that in HeaderResponse#internalRenderJavaScriptReference is line:
String urlWoSessionId = Strings.stripJSessionId(url);
which strips session id (that was previously encoded into by HttpServletResponse) from URL explicitly. I wonder WHY? Does the jsessionid parametr in URL break something else?
internalRenderCSSReference method is affected too.
Attachments
Attachments
Issue Links
- requires
-
WICKET-4550 jsessionid is not added to resources if cookies are disabled by the server
- Resolved