mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 05:36:07 +10:00
Merge branch 'attribution-for-shell-guide' into 'master'
Attribution For Shell Guide
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Guidelines for shell commands in the GitLab codebase
|
||||
|
||||
## References
|
||||
|
||||
- [Google Ruby Security Reviewer's Guide](https://code.google.com/p/ruby-security/wiki/Guide)
|
||||
- [OWASP Command Injection](https://www.owasp.org/index.php/Command_Injection)
|
||||
- [Ruby on Rails Security Guide Command Line Injection](http://guides.rubyonrails.org/security.html#command-line-injection)
|
||||
|
||||
## Use File and FileUtils instead of shell commands
|
||||
|
||||
Sometimes we invoke basic Unix commands via the shell when there is also a Ruby API for doing it.
|
||||
|
||||
Reference in New Issue
Block a user