Skip to content

[HttpFoundation] Authorization header not available via headers() #19693

Closed
@andig

Description

@andig

I'm using Apache 2.4 and php 7.0 configured as module and HttpFoundation 3.0.9. I've read https://github.com/symfony/symfony-docs/pull/2529/files#r3886789 and added the RewriteRule although not running PHP through CGI.

When calling app with a Authorization: Bearer .... header, it's not available via headers(). It is however visible via apache_request_headers().

Why isn't Symfony picking up the apache header?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions