Closed fractorr closed 7 years ago
Just to clarify, are you saying the routes work as expected when you define them in config/routes.php
, but they don't work as expected when you define them in the Control Panel under Settings->Routes?
@takobell it’s just the routes stored to the DB, yes. There seems to be an issue with too many characters being escaped.
@fractorr Can you post a screenshot of your Settings → Routes index view please?
Closing due to lack of response.
@brandonkelly I just re-created that setup @fractorr is describing and can confirm that with the above route setup in Settings > Routes, requests to http://craft3.dev/product/view/test respond with 404 errors.
Whereas the following works without issues:
'product/view/<slug:[^\/]+>' => ['template' => '_product'],
@carlcs Thanks, can confirm that doesn't work.
Description
I have been playing with Routes in the admin and having an issue with it. I am getting odd behavior in the templates but seems to work when using
config/routes.php
Steps to reproduce
Here is what I have tried.
Admin Panel
config/routes.php
Additional info