Closed quickapps closed 7 years ago
From @ChristopherCastro on September 10, 2016 10:55
Interesting,
but we should treat this case carefully, as changing the regex pattern could break compatibility with special characters and other languages. That is why we now use .+
instead of [a-z0-9\-]+
.
But for what I see, more than a QACMS issue looks more like a Cake's issue and how it uses the /
symbol when defining router connectors.
I'll take a look and see how to solve this
best regards!
From @paulrwest on September 8, 2016 11:1
To reproduce define the extension in bootstrap file:
define('CONTENT_EXTENSION', '/');
results in:
Manually removing the last forward-slash from the URL corrects the issue. Debugging the Serve->details() shows $contentSlug still has the / in it:
Fix: in ../vendor/quickapps-plugins/content/config/routes.php:49
your latest pull of quickapps/website has:
'content_slug' => '.+',
previous version had:
'content_slug' => '[a-z0-9\-]+',
switching the regex back to this fixes the issue for me I'm not sure why you changed it to '.+'.
Copied from original issue: quickapps/website#5