Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

RoundCube 1.3.10 - lower case "set-cookie:" headers #9

@directadminjohn

Description

@directadminjohn

RoundCube 1.3.10 changed their:
Set-Cookie:

headers, to:
set-cookie:

So this match fails:
preg_match_all('/Set-Cookie: (.*)\b/', $response, $cookies);

Simply add the case-insensitive 'i' flag to it, to handle both cases:
preg_match_all('/Set-Cookie: (.*)\b/i', $response, $cookies);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions