Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornachoparker <nacho@ownyourbits.com>2017-08-14 12:23:14 +0300
committernachoparker <nacho@ownyourbits.com>2017-08-14 12:23:14 +0300
commit7dde92aa8031ef500ee652454115beb26c846b43 (patch)
tree195c66c7037daf36ed5dfbabcc7810687cedb84a
parent5ebeaf12ec3d8c7c39030ae6e2530bf4339f45f3 (diff)
ncp-web: allow commasv0.20.1
-rw-r--r--ncp-web/ncp-launcher.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ncp-web/ncp-launcher.php b/ncp-web/ncp-launcher.php
index 2038cc61..f410640b 100644
--- a/ncp-web/ncp-launcher.php
+++ b/ncp-web/ncp-launcher.php
@@ -82,7 +82,7 @@ else if ( $_POST['action'] == "launch" && $_POST['config'] )
foreach( $params as $name => $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 ,