Fix getFileLinkFormat() to avoid returning the wrong URL in Profiler
This commit is contained in:
parent
f1cb4b59b9
commit
9ed5f03b98
@ -106,7 +106,7 @@ class FileLinkFormatter implements \Serializable
|
|||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
$request->getSchemeAndHttpHost().$request->getBasePath().$this->urlFormat,
|
$request->getSchemeAndHttpHost().$this->urlFormat,
|
||||||
$this->baseDir.\DIRECTORY_SEPARATOR, '',
|
$this->baseDir.\DIRECTORY_SEPARATOR, '',
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user