You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Rakesh A (JIRA)" <ji...@apache.org> on 2017/10/17 11:26:00 UTC
[jira] [Created] (WICKET-6484) Wicket.Cookie.set does not set
'secure' flag
Rakesh A created WICKET-6484:
--------------------------------
Summary: Wicket.Cookie.set does not set 'secure' flag
Key: WICKET-6484
URL: https://issues.apache.org/jira/browse/WICKET-6484
Project: Wicket
Issue Type: Bug
Components: wicket-extensions
Affects Versions: 6.25.0
Reporter: Rakesh A
Wicket ModalWindow has a functionality where modal dialogs position and size are restored using a cookie. This cookie is created in 'modal.js'
{code:java}
set: function(name, value, expiredays) {
var exdate = new Date();
exdate.setDate(exdate.getDate() + expiredays);
document.cookie = name + "=" + window.escape(value) + ((expiredays === null) ? "" : ";expires="+exdate);
}
{code}
This method doesn't set 'secure' flag if the application is being accessed using HTTPS
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)