<div dir="ltr"><div>How do cookies work? Mozilla claims to follow RFC 6265 [1], which seems to prohibit domains starting with a dot.<br><br></div>Yet, when I go to <a href="http://icabanken.se">icabanken.se</a> using the proposed ICA Banken ruleset [2], using Firefox or Iceweasel, I get cookies that say “Domain: .<a href="http://icabanken.se">icabanken.se</a>”.<br>
<div><br></div><div>I also have an issue with securing cookies with the <securecookie> tag.<br></div><div><br>Continuing with the ICA Banken example, here is what I observe generally. The cookies that say “Host: <a href="http://www.icabanken.se">www.icabanken.se</a>” have the Secure flag set. The cookies that say “Domain: .<a href="http://icabanken.se">icabanken.se</a>” do not have the Secure flag set. I found one exception, where even a cookie limited to <a href="http://www.icabanken.se">www.icabanken.se</a> failed to be secured.<br>
</div><div><br></div><div>I observed all this in Firefox 25.0/HTTPS Everywhere 3.4.5 and Iceweasel 17.0.5/HTTPS Everywhere 3.1.4.<br></div><div><br>[1] <a href="https://developer.mozilla.org/en-US/docs/Web_Development/HTTP_cookies">https://developer.mozilla.org/en-US/docs/Web_Development/HTTP_cookies</a><br>
<div><div>[2] <a href="https://lists.eff.org/pipermail/https-everywhere-rules/2014-January/001819.html">https://lists.eff.org/pipermail/https-everywhere-rules/2014-January/001819.html</a><br></div><div><br clear="all"><div>
<div dir="ltr"><div>--<br>Brian Drake<br><br>All content created by me: <a href="http://www.wipo.int/treaties/en/ip/berne/trtdocs_wo001.html" target="_blank">Copyright</a> © 2014 Brian Drake. All rights reserved.<br></div>
</div></div>
</div></div></div></div>