Skip to content

rewrite module and secure cookies #141

Closed
lwsjs/rewrite
#9
@5im-0n

Description

@5im-0n

When rewriting happens with an https destination, like in ws --rewrite '/:user/repos/:name -> https://api.github.com/repos/:user/:name', cookies set by the destination are usually set with the secure flag, but since lws listens on http, this cookie gets lost.
lws should strip the secure flag from the cookie, so cookies set from an https origin get set correctly.

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