Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 24, 2024. It is now read-only.
This repository was archived by the owner on Apr 24, 2024. It is now read-only.

Cookie parsing fails on bad cookie, throws the rest away #1122

@kantefier

Description

@kantefier

Hello!
I'm using Websphere Application Server for deploying my Spray app. That app server seems to append some broken cookies after logging into Websphere Console, those cookies contain whitespaces.
The problem: if those broken cookies are present in requests to Spray app on that server, RequestContext.request.cookies method returns Nil and there is a warning about illegal headers.

Wouldn't it be better to ignore invalid cookies rather than discard all of them?

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