We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ce7168 commit 48cbae4Copy full SHA for 48cbae4
FrameworkBundle.php
@@ -97,7 +97,7 @@ public function boot()
97
Request::enableHttpMethodParameterOverride();
98
}
99
100
- if ($this->container->getParameter('kernel.trust_x_sendfile_type_header')) {
+ if ($this->container->hasParameter('kernel.trust_x_sendfile_type_header') && $this->container->getParameter('kernel.trust_x_sendfile_type_header')) {
101
BinaryFileResponse::trustXSendfileTypeHeader();
102
103
0 commit comments