Révision 071f6059
Ajouté par jim-p il y a plus de 9 ans
etc/inc/services.inc | ||
---|---|---|
1826 | 1826 |
|
1827 | 1827 |
if ($config['dnsmasq']['custom_options']) |
1828 | 1828 |
foreach (preg_split('/\s+/', $config['dnsmasq']['custom_options']) as $c) { |
1829 |
$args .= " --$c";
|
|
1829 |
$args .= " " . escapeshellarg("--{$c}");
|
|
1830 | 1830 |
$p = explode('=', $c); |
1831 | 1831 |
if (array_key_exists($p[0], $standard_args)) |
1832 | 1832 |
unset($standard_args[$p[0]]); |
Formats disponibles : Unified diff
Escape the individual dnsmasq advanced/custom options