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 b9bb103 commit 9eb8dc3Copy full SHA for 9eb8dc3
Plugin/App/Request/StorePathInfoValidator.php
@@ -21,7 +21,7 @@ public function __construct(
21
22
public function beforeGetValidStoreCode(Subject $subject, Http $request, string $pathInfo = ''): array
23
{
24
- if ($this->config->isEnabled()) {
+ if ($pathInfo !== '' && $this->config->isEnabled()) {
25
$uri = $request->getUriString();
26
/** @var Store $store */
27
foreach ($this->storeRepository->getList() as $store) {
0 commit comments