We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 800acfa commit 90baa79Copy full SHA for 90baa79
lib/internal/Magento/Framework/App/Router/Base.php
@@ -179,7 +179,7 @@ protected function parseRequest(\Magento\Framework\App\RequestInterface $request
179
180
$path = trim($request->getPathInfo(), '/');
181
182
- $params = explode('/', $path ? $path : $this->pathConfig->getDefaultPath());
+ $params = explode('/', strlen($path) ? $path : $this->pathConfig->getDefaultPath());
183
foreach ($this->_requiredParams as $paramName) {
184
$output[$paramName] = array_shift($params);
185
}
0 commit comments