Testing/CI/ACL
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace MageSail\Magesail\Plugin\Store;
|
||||
@@ -36,11 +37,13 @@ class TunnelStoreBaseUrlPlugin
|
||||
return $result;
|
||||
}
|
||||
$effectiveType = $type ?? UrlInterface::URL_TYPE_LINK;
|
||||
if (!\in_array($effectiveType, [
|
||||
if (
|
||||
!\in_array($effectiveType, [
|
||||
UrlInterface::URL_TYPE_LINK,
|
||||
UrlInterface::URL_TYPE_DIRECT_LINK,
|
||||
UrlInterface::URL_TYPE_WEB,
|
||||
], true)) {
|
||||
], true)
|
||||
) {
|
||||
return $result;
|
||||
}
|
||||
if ($this->tunnelRequestDetector->getTunnelStoreCode($this->request) === null) {
|
||||
|
||||
Reference in New Issue
Block a user