Permalink
Show file tree
Hide file tree
9 changes: 8 additions & 1 deletion
9
src/Symfony/Component/ErrorHandler/ErrorRenderer/SerializerErrorRenderer.php
15 changes: 14 additions & 1 deletion
15
src/Symfony/Component/HttpFoundation/Tests/ResponseTest.php
6 comments
on commit
sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
security #cve-2020-5255 [HttpFoundation] Do not set the default Conte…
…nt-Type based on the Accept header (yceruto) This PR was merged into the 4.4 branch.
- Loading branch information
Showing
4 changed files
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dca3434There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrade symfony/http-foundation to version 5.0.7 or later
dca3434There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GHSA-mcx4-f5f5-4859
dca3434There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you explain how to do it please
dca3434There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First, go to your composer.json file and add this JSON-line to "require':
"symfony/http-foundation": "^5.0.7"
Following, you run this command in your terminal (best in the same path as your project):
composer update symfony/http-foundation
Finally, you just have to push your changes, and voila.
Hope this helps you
dca3434There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will try this
Thank you
dca3434There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dependence fix