Commit 9dfbe3b
committed
Use shell-quote.quote in testCdsCommand()
Attempts to resolve an "Indirect uncontrolled command line" code
scanning alert from the recent additon of the `testCdsCommand` function.
Uses the `quote` function from the `shell-quote` library to "quote" the
offending CDS extractor script argument before using the arg / string
within the `testCdsCommand` function.1 parent efc989f commit 9dfbe3b
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
93 | 95 | | |
94 | 96 | | |
95 | 97 | | |
96 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
97 | 101 | | |
98 | 102 | | |
99 | 103 | | |
| |||
0 commit comments