File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/internal/Magento/Framework/App/Request Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ public function setPathInfo($pathInfo = null)
149149 return $ this ;
150150 }
151151
152- $ requestUri = $ this ->removeRepitedSlashes ($ requestUri );
152+ $ requestUri = $ this ->removeRepeatedSlashes ($ requestUri );
153153 $ parsedRequestUri = explode ('? ' , $ requestUri , 2 );
154154 $ queryString = !isset ($ parsedRequestUri [1 ]) ? '' : '? ' . $ parsedRequestUri [1 ];
155155 $ baseUrl = $ this ->getBaseUrl ();
@@ -172,7 +172,7 @@ public function setPathInfo($pathInfo = null)
172172 * @param string $pathInfo
173173 * @return string
174174 */
175- private function removeRepitedSlashes ($ pathInfo )
175+ private function removeRepeatedSlashes ($ pathInfo )
176176 {
177177 $ firstChar = (string )substr ($ pathInfo , 0 , 1 );
178178 if ($ firstChar == '/ ' ) {
You can’t perform that action at this time.
0 commit comments