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)
149
149
return $ this ;
150
150
}
151
151
152
- $ requestUri = $ this ->removeRepitedSlashes ($ requestUri );
152
+ $ requestUri = $ this ->removeRepeatedSlashes ($ requestUri );
153
153
$ parsedRequestUri = explode ('? ' , $ requestUri , 2 );
154
154
$ queryString = !isset ($ parsedRequestUri [1 ]) ? '' : '? ' . $ parsedRequestUri [1 ];
155
155
$ baseUrl = $ this ->getBaseUrl ();
@@ -172,7 +172,7 @@ public function setPathInfo($pathInfo = null)
172
172
* @param string $pathInfo
173
173
* @return string
174
174
*/
175
- private function removeRepitedSlashes ($ pathInfo )
175
+ private function removeRepeatedSlashes ($ pathInfo )
176
176
{
177
177
$ firstChar = (string )substr ($ pathInfo , 0 , 1 );
178
178
if ($ firstChar == '/ ' ) {
You can’t perform that action at this time.
0 commit comments