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

Add RewriteRule #698

Merged
merged 1 commit into from
Sep 22, 2014
Merged

Add RewriteRule #698

merged 1 commit into from
Sep 22, 2014

Conversation

jderusse
Copy link
Member

Q A
Bug fix? yes
New feature? no
BC breaks? should not
Deprecations? no
Tests pass? yes
Fixed tickets symfony/symfony#9295
License MIT
Doc PR NA

Actually, Apache does not sets "HTTP_AUTHORIZATION" on bearer authorizations. This PR applies Symfony's recommendations by using a .htaccess to rewrite this header.

http://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html

@gnugat
Copy link

gnugat commented Aug 21, 2014

👍

@fabpot
Copy link
Member

fabpot commented Sep 22, 2014

Thank you @jeremy-derusse.

@fabpot fabpot merged commit 77ee2a8 into symfony:2.3 Sep 22, 2014
fabpot added a commit that referenced this pull request Sep 22, 2014
This PR was merged into the 2.3 branch.

Discussion
----------

Add RewriteRule

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | should not
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | symfony/symfony#9295
| License       | MIT
| Doc PR        | NA

Actually, Apache does not sets "HTTP_AUTHORIZATION" on bearer authorizations. This PR applies Symfony's recommendations by using a .htaccess to rewrite this header.

http://symfony.com/doc/current/cookbook/configuration/web_server_configuration.html

Commits
-------

77ee2a8 Add RewriteRule
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants