Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some value does not appear on the HTTP request #86

Open
incoming-th opened this issue Dec 20, 2023 · 1 comment
Open

Some value does not appear on the HTTP request #86

incoming-th opened this issue Dec 20, 2023 · 1 comment

Comments

@incoming-th
Copy link

Hi,

Some value are not appearing in the headers of the request when using console, this triggers some false positive on security reports.

Example from local Laravel 10 environment (WSL2) and bepsvpt/secure-header ^7.3:

image

But in the network console:

image

Is this normal? Am I doing something wrong?

That's just one example, it could have other like this.

Thanks

@knash94
Copy link

knash94 commented Jan 19, 2024

Hey @incoming-th ,

For the keywords such as self and none, these must be represented as array keys. Changing your configuration to the following should hopefully fix the issue for you

'frame-ancestors' => [
    'none' => true            
],

I might raise a new PR to add these options with the default as false in the PR, as I was running into the same issue as you, and took me a while to figure it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants