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

Skip to content

Commit 47a8784

Browse files
committed
bug #32818 [HttpKernel] Fix getFileLinkFormat() to avoid returning the wrong URL in Profiler (Arman-Hosseini)
This PR was merged into the 3.4 branch. Discussion ---------- [HttpKernel] Fix getFileLinkFormat() to avoid returning the wrong URL in Profiler | Q | A | ------------- | --- | Branch? | >= 3.4 <!-- see below --> | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | BC breaks? | no <!-- see https://symfony.com/bc --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tests pass? | yes <!-- please add some, will be required by reviewers --> | Fixed tickets | #32444 <!-- #-prefixed issue number(s), if any --> | License | MIT | Doc PR | N/A <!-- required for new features --> I had this problem and I noticed that an issue had already been registered. So I registered the pull request. Commits ------- 9ed5f03 Fix getFileLinkFormat() to avoid returning the wrong URL in Profiler
2 parents 206ad49 + 9ed5f03 commit 47a8784

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)