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)

Reply via email to