Url: Add basePath to urlString if url is external or has a username
refs #12133
This commit is contained in:
parent
2fd1a957a8
commit
1ff3149636
|
@ -609,7 +609,7 @@ class Url
|
|||
$urlString .= ':' . $this->getPort();
|
||||
}
|
||||
|
||||
return $urlString . '/' . $path;
|
||||
return $urlString . $basePath . ($basePath !== '/' && $path ? '/' : '') . $path;
|
||||
} else {
|
||||
return $basePath . ($basePath !== '/' && $path ? '/' : '') . $path;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue