Skip to content

[Docs] Explain the valid format for Expires in Set-Cookie headers #2641

@JamoCA

Description

@JamoCA

See #2641 (comment) for what's remaining


I received a notification from the Chrome Extension that the set-cookie date is invalid, but there's no link for "more info" in order for me to learn more. (I also couldn't copy-and-paste the error message. I reported via Twitter and apparently this will be fixed soon.)

This StackOverflow post indicates that "a date in a UTC/GMT format is required by cookies".
https://stackoverflow.com/a/11138591/693068

This hint wasn't reported until after manually fixing both "httponly" and "secure" hints. Shouldn't this hint always be displayed if the date format is invalid regardless of the "httponly" & "secure" status?

The WebHint version should be displayed in the output so it can be reported if necessary. (If I manage extensions, I see that it is v0.0.4.)

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions