one more try
All checks were successful
ci/woodpecker/push/code-style Pipeline was successful
ci/woodpecker/push/functional-tests/1 Pipeline was successful
ci/woodpecker/push/functional-tests/2 Pipeline was successful
ci/woodpecker/push/functional-tests/3 Pipeline was successful

This commit is contained in:
Ferdinand Kuhl 2024-06-27 21:33:46 +02:00
parent 2119e62bbb
commit d7e796eea5

View file

@ -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);
}
}