Skip to content
Snippets Groups Projects
Commit 477ec662 authored by Bohdan Korablov's avatar Bohdan Korablov
Browse files

MAGETWO-56317: [GitHub] -[2.1.0] underscore in site url breaks admin redirect...

MAGETWO-56317: [GitHub] -[2.1.0] underscore in site url breaks admin redirect - The page isn't redirecting properly #5809
parent b6ea0ff4
No related merge requests found
...@@ -16,12 +16,15 @@ class SimpleValidator ...@@ -16,12 +16,15 @@ class SimpleValidator
* Set allowed Schemes * Set allowed Schemes
* *
* @param array $allowedSchemes * @param array $allowedSchemes
* @return $this
*/ */
public function setAllowedSchemes(array $allowedSchemes) public function setAllowedSchemes(array $allowedSchemes)
{ {
if (!empty($allowedSchemes)) { if (!empty($allowedSchemes)) {
$this->allowedSchemes = $allowedSchemes; $this->allowedSchemes = $allowedSchemes;
} }
return $this;
} }
/** /**
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment