[
https://issues.apache.org/jira/browse/DELTASPIKE-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Heiko Kopp reopened DELTASPIKE-752:
-----------------------------------
The limitation of 10 characters seems not a good idea, as the ID itself is
prepended by an application identifier. This leads to an always false check in
LAZY-mode and thus every page is reloaded to ensure a valid window Id.
Example: Our application is called MAKS. The generated window ID is NOT 141440
but 10 characters wide (1414400138173) and because of the fix gets shorted to
10 characters.
window.deltaspikeWindowId='MAKS141440';window.deltaspikeClientWindowRenderMode='LAZY';
This is obviously not the correct window ID and EVERY window triggers a reload.
Please fix this :-)
> ensure a secure maximum length of the window-id
> -----------------------------------------------
>
> Key: DELTASPIKE-752
> URL: https://issues.apache.org/jira/browse/DELTASPIKE-752
> Project: DeltaSpike
> Issue Type: Bug
> Components: JSF-Module, JSF22-Module
> Affects Versions: 1.0.3
> Reporter: Heiko Kopp
> Priority: Critical
> Fix For: 1.0.4
>
>
> if the window-id is too long, we would need to escape it to avoid XSS.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)