|
@@ -36,7 +36,7 @@ discard block |
|
|
block discarded – undo |
|
36
|
36
|
if (array_key_exists($pathway, $routing['Redirect'])) { |
|
37
|
37
|
$target = $this->getSchemeAndHttpHost(); // . $this->getBasePath() . '/' . rtrim($routing['Redirect'][$pathway], '/'); |
|
38
|
38
|
if ($this->getBasePath() !== null && !Str::likeEmpty($this->getBasePath())) { |
|
39
|
|
- $target .= '/' . $this->getBasePath(); |
|
|
39
|
+ $target .= '/'.$this->getBasePath(); |
|
40
|
40
|
} |
|
41
|
41
|
$target .= rtrim($routing['Redirect'][$pathway], '/'); |
|
42
|
42
|
$redirect = new RedirectResponse($target); |
|
@@ -64,7 +64,7 @@ discard block |
|
|
block discarded – undo |
|
64
|
64
|
|
|
65
|
65
|
// safe other parts to arguments if exist |
|
66
|
66
|
if (count($pathArray) > 0) { |
|
67
|
|
- $this->args = array_map(function ($in) { |
|
|
67
|
+ $this->args = array_map(function($in) { |
|
68
|
68
|
return Any::isStr($in) ? urldecode($in) : $in; |
|
69
|
69
|
}, $pathArray); |
|
70
|
70
|
} |
Please login to merge, or discard this patch.