Code: Select all
index.php?route=xyz-123/test
Code: Select all
catalog/controller/xyz-123/test.php
Does anyone know if there was a change made so that dashes are not permitted in the URL's route?
Code: Select all
index.php?route=xyz-123/test
Code: Select all
catalog/controller/xyz-123/test.php
Code: Select all
$route = preg_replace('/[^a-zA-Z0-9_\/]/', '', (string)$route);
Opencart Developer - For custom work and support contact @ webcorvo@gmail.com
Opencart Developer - For custom work and support contact @ webcorvo@gmail.com
Users browsing this forum: No registered users and 161 guests