diff --git a/src/ValanticSpryker/Zed/FirstSpiritApi/Business/Model/Processor/Pre/PathPreProcessor.php b/src/ValanticSpryker/Zed/FirstSpiritApi/Business/Model/Processor/Pre/PathPreProcessor.php index 6d6cfed..96082f8 100644 --- a/src/ValanticSpryker/Zed/FirstSpiritApi/Business/Model/Processor/Pre/PathPreProcessor.php +++ b/src/ValanticSpryker/Zed/FirstSpiritApi/Business/Model/Processor/Pre/PathPreProcessor.php @@ -37,7 +37,7 @@ public function process(FirstSpiritApiRequestTransfer $apiRequestTransfer): Firs $path = substr($path, strlen(FirstSpiritApiConfig::ROUTE_PREFIX_FIRST_SPIRIT_API_REST)); } - $apiRequestTransfer->setPath($this->urlEncoding($path)); + $apiRequestTransfer->setPath($this->urlDecodeComma($path)); return $apiRequestTransfer; } @@ -47,7 +47,7 @@ public function process(FirstSpiritApiRequestTransfer $apiRequestTransfer): Firs * * @return string */ - private function urlEncoding(string $path): string + private function urlDecodeComma(string $path): string { return str_replace('%2C', ',', $path); }