We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 756a62b commit f9612daCopy full SHA for f9612da
functions/exec/escapeshellarg.js
@@ -3,7 +3,7 @@ function escapeshellarg(arg) {
3
// + original by: Felix Geisendoerfer (http://www.debuggable.com/felix)
4
// + improved by: Brett Zamir (http://brett-zamir.me)
5
// * example 1: escapeshellarg("kevin's birthday");
6
- // * returns 1: "'kevin\'s birthday'"
+ // * returns 1: "'kevin\\'s birthday'"
7
var ret = '';
8
9
ret = arg.replace(/[^\\]'/g, function(m, i, s) {
0 commit comments