Skip to content

PO032 reports error when <ExposeHeaders>*</ExposeHeaders> #340

Closed
@kurtkanaskie

Description

@kurtkanaskie

This is not an error, nor should it be a warning, it's a valid configuration.

However, mixing a '*' with other headers should be an error.

This is a minor coding error
Line #124 in PO032-CORS-hygiene.js
had: else if (h == '' && headers.length != 0){
should be: else if (h == '
' && headers.length > 1){

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