Skip to content

warn that it's emulating php-on-linux #424

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

Merged
merged 1 commit into from
Oct 2, 2020
Merged

Conversation

divinity76
Copy link
Contributor

@divinity76 divinity76 commented Sep 22, 2020

related to issue #395

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Description

the escape rules for windows is quite different, and PHP checks what OS it's compiled for and change the escapeshellarg() behaviour accordingly, but our escapeshellarg function does not check anything, it just always assumes it's running on Windows Linux.

we should at the very least warn about it
(also i see 2 bugs in the function, but that's unrelated and should go in different PR's)

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
related to issue locutusjs#395
@divinity76 divinity76 mentioned this pull request Oct 2, 2020
2 tasks
@kvz kvz merged commit 5345e9c into locutusjs:master Oct 2, 2020
@kvz
Copy link
Collaborator

kvz commented Oct 2, 2020

This has been released under locutus@2.0.14

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.

None yet

2 participants