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

[8.x] Update InteractsWithInput.php #38426

Merged
merged 5 commits into from
Aug 18, 2021
Merged

[8.x] Update InteractsWithInput.php #38426

merged 5 commits into from
Aug 18, 2021

Conversation

heiswald
Copy link
Contributor

Recently I came across some conditions that I needed to send both Basic and Bearer token. As we can send Authorization: Basic X, Bearer Y we need to change logic how to get token from the Authorization header.

heiswald and others added 5 commits August 18, 2021 12:03
Recently I came across some conditions that I needed to send both `Basic` and `Bearer` token. As we can send `Authorization Basic X, Bearer Y` we need to change logic how to get token from the `Authorization` header.
@taylorotwell taylorotwell merged commit 9e9bdaf into laravel:8.x Aug 18, 2021
@GrahamCampbell GrahamCampbell changed the title Update InteractsWithInput.php [8.x] Update InteractsWithInput.php Aug 18, 2021
victorvilella pushed a commit to cdsistemas/framework that referenced this pull request Oct 12, 2021
* Update InteractsWithInput.php

Recently I came across some conditions that I needed to send both `Basic` and `Bearer` token. As we can send `Authorization Basic X, Bearer Y` we need to change logic how to get token from the `Authorization` header.

* Update InteractsWithInput.php

* Update InteractsWithInput.php

* formatting

* use strpos method

Co-authored-by: Taylor Otwell <taylorotwell@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants