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

Command Injection Vulnerability a better teaching example #630

Closed
wants to merge 1 commit into from

Conversation

m-fedosov
Copy link

It makes sense to use implode and explode in pairs, and a shorter check is_numeric

@digininja
Copy link
Owner

I'm going to say no to this one, it may be a better way to do it from a developers point of view, but for a learner to look at it and understand what it is doing, the current way is better.

@digininja digininja closed this May 10, 2024
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