Skip to content

"Syntax-Error" when useCors == false #117

@m-schreiber

Description

@m-schreiber

If Code does not exit here: (e.q. internal CORS Control not used)

It will crash here:

if ($this->method == 'OPTIONS' && getallheaders()->Access-Control-Request-Headers) {

Because of "Access-Control-Request-Headers" which is not a valid variable name.

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