Open
Description
Is there an accepted general way to pass parameters to the scripts securely? I just stripping our ' enough?
var repository = req.headers["gitrepository"]
var msg = req.headers["gitcommitmessage"].replace(/'/g,"")
// # TODO...
var cmd = 'cd ' + repository + "; git commit -m '"+ msg +"' -a "
Metadata
Metadata
Assignees
Labels
No labels