diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-03-12 12:14:33 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-03-16 19:19:22 +0300 |
commit | 84f27f280ef8dc51065b1e4c1b668b57e10fb77f (patch) | |
tree | 6e183713e651ad773c3002ab6461909041d2ea42 /ncp-web | |
parent | 4ed6b52a8a225b82bedef6a68e0bae857e2c97ba (diff) |
added nc-snapshot-syncv0.50.0
Diffstat (limited to 'ncp-web')
-rw-r--r-- | ncp-web/ncp-launcher.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ncp-web/ncp-launcher.php b/ncp-web/ncp-launcher.php index f0bb591d..829c39ef 100644 --- a/ncp-web/ncp-launcher.php +++ b/ncp-web/ncp-launcher.php @@ -118,7 +118,7 @@ else if ( $_POST['action'] == "launch" && $_POST['config'] ) { $value = "[". join(",", $value) ."]"; } - preg_match( '/^[\[\]\w.,@_\/-]+$/' , $value , $matches ) + preg_match( '/^[\[\]\w.,@_\/-:]+$/' , $value , $matches ) or exit( '{ "output": "Invalid input" , "token": "' . getCSRFToken() . '" }' ); $code = preg_replace( '/\n' . $name . '_=.*' . PHP_EOL . '/' , PHP_EOL . $name . '_=' . $value . PHP_EOL , |