Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6484

Wicket.Cookie.set does not set 'secure' flag

    XMLWordPrintableJSON

    Details

      Description

      Wicket ModalWindow has a functionality where modal dialogs position and size are restored using a cookie. This cookie is created in 'modal.js'

      		set: function(name, value, expiredays) {
      			var exdate = new Date();
      			exdate.setDate(exdate.getDate() + expiredays);
      			document.cookie = name + "=" + window.escape(value) + ((expiredays === null) ? "" : ";expires="+exdate);
      		}
      

      This method doesn't set 'secure' flag if the application is being accessed using HTTPS

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              rakesh.a Rakesh A
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: