• E
    HSTS without IncludeSubdomains is often useless · 6eb3a1b0
    Egor Homakov 提交于
    1) Because if you forget to add Secure; to the session cookie, it will leak to http:// subdomain in some cases
    2) Because http:// subdomain can Cookie Bomb/cookie force main domain or be used for phishing.
    
    That's why *by default* it must include subdomains as it's much more common scenario. Very few websites *intend* to leave their blog.app.com working over http:// while having everything else encrypted. 
    
    Yes, many developers forget to add subdomains=true by default, believe me :)
    6eb3a1b0
ssl.rb 5.1 KB