Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ed5f03

Browse files
Fix getFileLinkFormat() to avoid returning the wrong URL in Profiler
1 parent f1cb4b5 commit 9ed5f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpKernel/Debug/FileLinkFormatter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ private function getFileLinkFormat()
106106
}
107107

108108
return [
109-
$request->getSchemeAndHttpHost().$request->getBasePath().$this->urlFormat,
109+
$request->getSchemeAndHttpHost().$this->urlFormat,
110110
$this->baseDir.\DIRECTORY_SEPARATOR, '',
111111
];
112112
}

0 commit comments

Comments
 (0)