Merge pull request #301 from yassineaddi/master

Fix redirect method due to a mistake removing backslashes
pull/304/head
Mike Cao 8 years ago committed by GitHub
commit a123a08f10

@ -430,7 +430,7 @@ class Engine {
// Append base url to redirect url
if ($base != '/' && strpos($url, '://') === false) {
$url = preg_replace('#/+#', '/', $base.'/'.$url);
$url = $base . preg_replace('#/+#', '/', '/' . $url);
}
$this->response(false)

Loading…
Cancel
Save