Skip to content

Sending secure cookies to localhost via http  #13

@oalders

Description

@oalders

I'm just wondering if this is strictly correct: https://metacpan.org/release/DAGOLDEN/HTTP-CookieJar-0.014/source/lib/HTTP/CookieJar.pm#L156

next if $cookie->{secure}             && $scheme ne 'https';

https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies states that a secure cookie can be sent via HTTP if the host is localhost. Disclaimer: I did not dig into any RFCs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions