* [FIX] Fixed issue when creating public links. Closes #1012. Thanks to @vmario899 for the feedback.

Signed-off-by: nuxsmin <nuxsmin@syspass.org>
This commit is contained in:
nuxsmin
2018-09-24 18:05:59 +02:00
parent 31000f20db
commit ca620b60fb
2 changed files with 2 additions and 2 deletions

View File

@@ -191,7 +191,7 @@ final class Bootstrap
/** @var \Klein\Request $request */
$route = Filter::getString($request->param('r', 'index/index'));
if (!preg_match_all('#(?P<controller>[a-zA-Z]+)(?:/(?P<action>[a-zA-Z]+))?(?P<params>/[a-zA-Z\d\.]+)?#', $route, $matches)) {
if (!preg_match_all('#(?P<controller>[a-zA-Z]+)(?:/(?P<action>[a-zA-Z]+))?(?P<params>(/[a-zA-Z\d\.]+)+)?#', $route, $matches)) {
throw new RuntimeException($oops);
}

View File

@@ -57,7 +57,7 @@ final class Installer extends Service
*/
const VERSION = [3, 0, 0];
const VERSION_TEXT = '3.0-beta';
const BUILD = 18092401;
const BUILD = 18092402;
/**
* @var DatabaseSetupInterface