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

[6.x] Fix inconsistent escaping of artisan argument #39953

Merged
merged 3 commits into from
Dec 9, 2021

Conversation

mcdamo
Copy link
Contributor

@mcdamo mcdamo commented Dec 9, 2021

The artisan binary is escaped if it is called from console/cron but not from within a web app via an artisan() call.

Call via console gives

'artisan'

Call via laravel gives

artisan

This has the unintended(?) side-effect of assigning different mutex for a command depending if it is triggered via cron or via a web app.

This bug appears to affect all versions of Laravel/Framework so I have targeted that latest LTS release.

@taylorotwell taylorotwell merged commit 2228474 into laravel:6.x Dec 9, 2021
@GrahamCampbell GrahamCampbell changed the title Fix inconsistent escaping of artisan argument [6.x] Fix inconsistent escaping of artisan argument Dec 9, 2021
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