diff --git a/lib/internal/Magento/Framework/App/Request/Http.php b/lib/internal/Magento/Framework/App/Request/Http.php index 5d4ca42d66cbe..4421903f40c2e 100644 --- a/lib/internal/Magento/Framework/App/Request/Http.php +++ b/lib/internal/Magento/Framework/App/Request/Http.php @@ -149,7 +149,7 @@ public function setPathInfo($pathInfo = null) return $this; } - $requestUri = $this->removeRepitedSlashes($requestUri); + $requestUri = $this->removeRepeatedSlashes($requestUri); $parsedRequestUri = explode('?', $requestUri, 2); $queryString = !isset($parsedRequestUri[1]) ? '' : '?' . $parsedRequestUri[1]; $baseUrl = $this->getBaseUrl(); @@ -172,7 +172,7 @@ public function setPathInfo($pathInfo = null) * @param string $pathInfo * @return string */ - private function removeRepitedSlashes($pathInfo) + private function removeRepeatedSlashes($pathInfo) { $firstChar = (string)substr($pathInfo, 0, 1); if ($firstChar == '/') {