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

[7.x] Prevent interaction with Http::preventStrayRequests #1052

Merged
merged 5 commits into from
Aug 3, 2023

Conversation

joshbonnick
Copy link
Contributor

This PR replaces the use of the Http facade with direct use of the Guzzle client allowing the request to be made regardless of stray requests being prevented.

Since #1043 the getUrl method for the dusk:chrome-driver command has used the Http facade to get the URL for the latest download URL. This has the unintended consequence of throwing an exception if stray requests are being prevented. Previously the URL was obtained using file_get_contents so it would still allow the command to successfully execute when requests are being prevented.

The Guzzle client is also directly used in the download method already.

@taylorotwell taylorotwell merged commit 8d7ce58 into laravel:7.x Aug 3, 2023
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.

3 participants