diff --git a/Classes/Domain/Model/AssetAttribute.php b/Classes/Domain/Model/AssetAttribute.php index 65326dc..2fe3eca 100644 --- a/Classes/Domain/Model/AssetAttribute.php +++ b/Classes/Domain/Model/AssetAttribute.php @@ -64,7 +64,7 @@ class AssetAttribute if (!$urlValue) { $urlValue = $this->value; } - $this->urlValue = \mb_substr($urlValue, 0, 250) ; + $this->urlValue = $urlValue; } public function initializeObject(): void @@ -75,7 +75,7 @@ class AssetAttribute \array_column($this->replacementMap, 'value'), $this->urlValue ); - $this->urlValue = \urlencode(\strtolower($this->urlValue)); + $this->urlValue = \mb_substr(\urlencode(\strtolower($this->urlValue)), 0, 250); } }