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

[Script Support] Check for script executability instead of comparing extensions #525

Merged
merged 3 commits into from Mar 3, 2019

Conversation

@remi6397
Copy link
Contributor

@remi6397 remi6397 commented Jan 11, 2019

Currently only several scripting languages are "supported" (files with unrecognised extensions are filtered out), but there are no reasons to prevent loading scripts written in other languages (e.g. JavaScript), or having alternative extensions (e.g. .php5), or even compiled binaries.

This PR adds execute permission check instead of filtering files by known extensions.

@emsquared emsquared merged commit 2498721 into Codeux-Software:master Mar 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants