Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Enforce UTF-8 charset for core controllers#13715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:2.3fromwouterj:issue_7532
Feb 24, 2015

Conversation

@wouterj
Copy link
Member

QA
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#7532
LicenseMIT
Doc PR-

See#7617 and#7532 for the context of this PR.

@nicolas-grekas
Copy link
Member

👍

@nicolas-grekas
Copy link
Member

Maybe a few assertions added ProfilerControllerTest could help prevent breaking the fix

@GromNaN
Copy link
Member

You can use the syntax Response::create() to chain the setCharset.

@wouterj
Copy link
MemberAuthor

Thanks for the great suggestions,@nicolas-grekas and@GromNaN! I've now updated the PR to useRequest::create() and I've added an assertion to theProfilerControllerTest andExceptionControllerTest.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

typo:explicitely ->explicitly

@wouterj
Copy link
MemberAuthor

Fixed the typos

@fabpot
Copy link
Member

Thank you@wouterj.

@fabpotfabpot merged commit3032014 intosymfony:2.3Feb 24, 2015
fabpot added a commit that referenced this pull requestFeb 24, 2015
This PR was merged into the 2.3 branch.Discussion----------Enforce UTF-8 charset for core controllers| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#7532| License       | MIT| Doc PR        | -See#7617 and#7532 for the context of this PR.Commits-------3032014 Enforce UTF-8 charset for core controllers
@wouterjwouterj deleted the issue_7532 branchFebruary 24, 2015 11:54
nicolas-grekas added a commit to nicolas-grekas/symfony that referenced this pull requestMar 11, 2015
…(WouterJ)"This reverts commit463b24b, reversingchanges made toc475704.
fabpot added a commit that referenced this pull requestMar 12, 2015
This PR was merged into the 2.3 branch.Discussion----------[Bundle] Fix charset config| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#13715,#7617,#7532| License       | MIT| Doc PR        | -This reverts#13715 and resurrects#7532, which was fine.Commits-------ef41059 [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallbackcbd0525 used HTML5 meta charset tag and removed hardcoded ones6ca7fc9 Revert "bug#13715 Enforce UTF-8 charset for core controllers (WouterJ)"
fabpot added a commit that referenced this pull requestMar 12, 2015
* 2.3:  [HttpFoundation] MongoDbSessionHandler::read() now checks for valid session age  [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallback  used HTML5 meta charset tag and removed hardcoded ones  Revert "bug#13715 Enforce UTF-8 charset for core controllers (WouterJ)"Conflicts:src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.phpsrc/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.phpsrc/Symfony/Component/HttpFoundation/Session/Storage/Handler/MongoDbSessionHandler.phpsrc/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php
fabpot added a commit that referenced this pull requestMar 12, 2015
* 2.6:  [HttpFoundation] MongoDbSessionHandler::read() now checks for valid session age  Changed visibility of setUp() and tearDown to protected  [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallback  Added default button class  used HTML5 meta charset tag and removed hardcoded ones  Revert "bug#13715 Enforce UTF-8 charset for core controllers (WouterJ)"  fixed XSS in the exception handler  Php Inspections (EA Extended) - static code analysis includes:  [2.3] Remove most refs uses  Test with local components instead of waiting for the subtree-splitter when possibleConflicts:.travis.yml
nicolas-grekas added a commit that referenced this pull requestMar 13, 2015
* 2.7:  Changed visibility of setUp() and tearDown to protected  Changed visibility of setUp() and tearDown to protected  [2.7] Fix travis file  [HttpFoundation] MongoDbSessionHandler::read() now checks for valid session age  [Debug] reintroduce charset param to ExceptionHandler  Changed visibility of setUp() and tearDown to protected  [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallback  [Debug] deprecate ExceptionHandler::utf8Htmlize  Added default button class  used HTML5 meta charset tag and removed hardcoded ones  Revert "bug#13715 Enforce UTF-8 charset for core controllers (WouterJ)"  fixed XSS in the exception handler  Php Inspections (EA Extended) - static code analysis includes:  [2.3] Remove most refs uses  [FrameworkBundle] Read config/validation/*.(xml|yml) files  Test with local components instead of waiting for the subtree-splitter when possibleConflicts:src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/LegacyTemplatingAssetHelperPassTest.phpsrc/Symfony/Bundle/TwigBundle/Tests/Extension/LegacyAssetsExtensionTest.phpsrc/Symfony/Bundle/TwigBundle/Tests/TokenParser/LegacyRenderTokenParserTest.phpsrc/Symfony/Component/ClassLoader/Tests/LegacyUniversalClassLoaderTest.phpsrc/Symfony/Component/Console/Helper/ProgressHelper.phpsrc/Symfony/Component/Console/Tests/Helper/LegacyDialogHelperTest.phpsrc/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.phpsrc/Symfony/Component/Debug/ExceptionHandler.phpsrc/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.phpsrc/Symfony/Component/Routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.phpsrc/Symfony/Component/Templating/Tests/Helper/LegacyAssetsHelperTest.php
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull requestMar 25, 2018
…(WouterJ)"This reverts commit463b24b, reversingchanges made toc475704.
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull requestMar 25, 2018
This PR was merged into the 2.3 branch.Discussion----------[Bundle] Fix charset config| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |symfony#13715,symfony#7617,symfony#7532| License       | MIT| Doc PR        | -This revertssymfony#13715 and resurrectssymfony#7532, which was fine.Commits-------ef41059 [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallbackcbd0525 used HTML5 meta charset tag and removed hardcoded ones6ca7fc9 Revert "bugsymfony#13715 Enforce UTF-8 charset for core controllers (WouterJ)"
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull requestMar 25, 2018
* 2.3:  [HttpFoundation] MongoDbSessionHandler::read() now checks for valid session age  [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallback  used HTML5 meta charset tag and removed hardcoded ones  Revert "bugsymfony#13715 Enforce UTF-8 charset for core controllers (WouterJ)"Conflicts:src/Symfony/Bundle/TwigBundle/Controller/ExceptionController.phpsrc/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.phpsrc/Symfony/Component/HttpFoundation/Session/Storage/Handler/MongoDbSessionHandler.phpsrc/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.php
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull requestMar 25, 2018
* 2.6:  [HttpFoundation] MongoDbSessionHandler::read() now checks for valid session age  Changed visibility of setUp() and tearDown to protected  [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallback  Added default button class  used HTML5 meta charset tag and removed hardcoded ones  Revert "bugsymfony#13715 Enforce UTF-8 charset for core controllers (WouterJ)"  fixed XSS in the exception handler  Php Inspections (EA Extended) - static code analysis includes:  [2.3] Remove most refs uses  Test with local components instead of waiting for the subtree-splitter when possibleConflicts:.travis.yml
ostrolucky pushed a commit to ostrolucky/symfony that referenced this pull requestMar 25, 2018
* 2.7:  Changed visibility of setUp() and tearDown to protected  Changed visibility of setUp() and tearDown to protected  [2.7] Fix travis file  [HttpFoundation] MongoDbSessionHandler::read() now checks for valid session age  [Debug] reintroduce charset param to ExceptionHandler  Changed visibility of setUp() and tearDown to protected  [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallback  [Debug] deprecate ExceptionHandler::utf8Htmlize  Added default button class  used HTML5 meta charset tag and removed hardcoded ones  Revert "bugsymfony#13715 Enforce UTF-8 charset for core controllers (WouterJ)"  fixed XSS in the exception handler  Php Inspections (EA Extended) - static code analysis includes:  [2.3] Remove most refs uses  [FrameworkBundle] Read config/validation/*.(xml|yml) files  Test with local components instead of waiting for the subtree-splitter when possibleConflicts:src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/LegacyTemplatingAssetHelperPassTest.phpsrc/Symfony/Bundle/TwigBundle/Tests/Extension/LegacyAssetsExtensionTest.phpsrc/Symfony/Bundle/TwigBundle/Tests/TokenParser/LegacyRenderTokenParserTest.phpsrc/Symfony/Component/ClassLoader/Tests/LegacyUniversalClassLoaderTest.phpsrc/Symfony/Component/Console/Helper/ProgressHelper.phpsrc/Symfony/Component/Console/Tests/Helper/LegacyDialogHelperTest.phpsrc/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.phpsrc/Symfony/Component/Debug/ExceptionHandler.phpsrc/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.phpsrc/Symfony/Component/Routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.phpsrc/Symfony/Component/Templating/Tests/Helper/LegacyAssetsHelperTest.php
jderusse pushed a commit to jderusse/symfony that referenced this pull requestDec 15, 2020
* 2.6:  [HttpFoundation] MongoDbSessionHandler::read() now checks for valid session age  Changed visibility of setUp() and tearDown to protected  [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallback  Added default button class  used HTML5 meta charset tag and removed hardcoded ones  Revert "bugsymfony#13715 Enforce UTF-8 charset for core controllers (WouterJ)"  fixed XSS in the exception handler  Php Inspections (EA Extended) - static code analysis includes:  [2.3] Remove most refs uses  Test with local components instead of waiting for the subtree-splitter when possibleConflicts:.travis.yml
jderusse pushed a commit to jderusse/symfony that referenced this pull requestDec 15, 2020
* 2.7:  Changed visibility of setUp() and tearDown to protected  Changed visibility of setUp() and tearDown to protected  [2.7] Fix travis file  [HttpFoundation] MongoDbSessionHandler::read() now checks for valid session age  [Debug] reintroduce charset param to ExceptionHandler  Changed visibility of setUp() and tearDown to protected  [WebProfilerBundle] Set debug+charset on the ExceptionHandler fallback  [Debug] deprecate ExceptionHandler::utf8Htmlize  Added default button class  used HTML5 meta charset tag and removed hardcoded ones  Revert "bugsymfony#13715 Enforce UTF-8 charset for core controllers (WouterJ)"  fixed XSS in the exception handler  Php Inspections (EA Extended) - static code analysis includes:  [2.3] Remove most refs uses  [FrameworkBundle] Read config/validation/*.(xml|yml) files  Test with local components instead of waiting for the subtree-splitter when possibleConflicts:src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/LegacyTemplatingAssetHelperPassTest.phpsrc/Symfony/Bundle/TwigBundle/Tests/Extension/LegacyAssetsExtensionTest.phpsrc/Symfony/Bundle/TwigBundle/Tests/TokenParser/LegacyRenderTokenParserTest.phpsrc/Symfony/Component/ClassLoader/Tests/LegacyUniversalClassLoaderTest.phpsrc/Symfony/Component/Console/Helper/ProgressHelper.phpsrc/Symfony/Component/Console/Tests/Helper/LegacyDialogHelperTest.phpsrc/Symfony/Component/Console/Tests/Helper/LegacyProgressHelperTest.phpsrc/Symfony/Component/Debug/ExceptionHandler.phpsrc/Symfony/Component/HttpFoundation/Tests/Session/Storage/Handler/MongoDbSessionHandlerTest.phpsrc/Symfony/Component/Routing/Tests/Matcher/Dumper/LegacyApacheMatcherDumperTest.phpsrc/Symfony/Component/Templating/Tests/Helper/LegacyAssetsHelperTest.php
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@wouterj@nicolas-grekas@GromNaN@fabpot@javiereguiluz

[8]ページ先頭

©2009-2025 Movatter.jp