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

[DependencyInjection] force enabling the external XML entity loaders#18908

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
nicolas-grekas merged 1 commit intosymfony:2.3fromxabbuh:issue-18876
May 30, 2016

Conversation

@xabbuh
Copy link
Member

QA
Branch?2.3
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#18876
LicenseMIT
Doc PR

@nicolas-grekas
Copy link
Member

Do we have the same issue in XliffFileLoader.php and XmlUtils.php?

@nicolas-grekas
Copy link
Member

Thank you@xabbuh.

@nicolas-grekasnicolas-grekas merged commit142b1a4 intosymfony:2.3May 30, 2016
nicolas-grekas added a commit that referenced this pull requestMay 30, 2016
…ty loaders (xabbuh)This PR was merged into the 2.3 branch.Discussion----------[DependencyInjection] force enabling the external XML entity loaders| Q             | A| ------------- | ---| Branch?       | 2.3| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#18876| License       | MIT| Doc PR        |Commits-------142b1a4 force enabling the external XML entity loaders
@sstok
Copy link
Contributor

@nicolas-grekas It seems so,https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Translation/Loader/schema/dic/xliff-core/xliff-core-1.2-strict.xsd#L33

I wonder if this will not load the external resources of the to be validated XML document, which would break the security system that was introduced 😨 can this be checked somehow?

@xabbuhxabbuh deleted the issue-18876 branchMay 30, 2016 08:27
nicolas-grekas added a commit that referenced this pull requestMay 30, 2016
…XML entity loaders (xabbuh)"This reverts commit44f6f89, reversingchanges made to57d6053.
@nicolas-grekas
Copy link
Member

Reverted because this look suspicious and need more thought.
@xabbuh now that 2.3 is EOLed, could you please reopen this on 2.7 so that the discussion can continue?

@xabbuh
Copy link
MemberAuthor

@fabpotfabpot mentioned this pull requestMay 30, 2016
fabpot added a commit that referenced this pull requestJun 6, 2016
* 2.3:  updated VERSION for 2.3.42  update CONTRIBUTORS for 2.3.42  updated CHANGELOG for 2.3.42  Revert "bug#18908 [DependencyInjection] force enabling the external XML entity loaders (xabbuh)"  Partial revert of previous PR  [DependencyInjection] Skip deep reference check for 'service_container'  Catch \Throwable  [Serializer] Add missing@throws annotations  Fix for#18843  force enabling the external XML entity loaders  Removed UTC specification with timestamp
nicolas-grekas added a commit that referenced this pull requestJun 6, 2016
* 2.7:  `@throws` annotations should go after `@return`  Fix merge  updated VERSION for 2.3.42  update CONTRIBUTORS for 2.3.42  updated CHANGELOG for 2.3.42  Revert "bug#18908 [DependencyInjection] force enabling the external XML entity loaders (xabbuh)"  Partial revert of previous PR  [DependencyInjection] Skip deep reference check for 'service_container'  Catch \Throwable  [Serializer] Add missing@throws annotations  Fix for#18843  force enabling the external XML entity loaders  Removed UTC specification with timestampConflicts:src/Symfony/Component/DependencyInjection/Tests/Dumper/PhpDumperTest.phpsrc/Symfony/Component/Finder/Finder.phpsrc/Symfony/Component/Security/Acl/Dbal/MutableAclProvider.phpsrc/Symfony/Component/Security/Acl/Domain/ObjectIdentity.phpsrc/Symfony/Component/Security/Acl/Model/AclInterface.phpsrc/Symfony/Component/Security/Acl/Model/MutableAclProviderInterface.phpsrc/Symfony/Component/Security/Acl/Permission/MaskBuilder.phpsrc/Symfony/Component/Translation/Loader/XliffFileLoader.phpsrc/Symfony/Component/Yaml/Tests/InlineTest.php
nicolas-grekas added a commit that referenced this pull requestJun 6, 2016
* 2.8:  `@throws` annotations should go after `@return`  Fix merge  updated VERSION for 2.3.42  update CONTRIBUTORS for 2.3.42  updated CHANGELOG for 2.3.42  Revert "bug#18908 [DependencyInjection] force enabling the external XML entity loaders (xabbuh)"  Partial revert of previous PR  [DependencyInjection] Skip deep reference check for 'service_container'  Catch \Throwable  [Serializer] Add missing@throws annotations  Fix for#18843  force enabling the external XML entity loaders  Removed UTC specification with timestampConflicts:CHANGELOG-2.3.mdsrc/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.phpsrc/Symfony/Bundle/TwigBundle/Extension/AssetsExtension.phpsrc/Symfony/Component/Config/Loader/FileLoader.phpsrc/Symfony/Component/DependencyInjection/Container.phpsrc/Symfony/Component/DependencyInjection/ContainerBuilder.phpsrc/Symfony/Component/Finder/Expression/Expression.phpsrc/Symfony/Component/Finder/Finder.phpsrc/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.phpsrc/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
nicolas-grekas added a commit that referenced this pull requestJun 6, 2016
* 3.0:  `@throws` annotations should go after `@return`  Fix merge  updated VERSION for 2.3.42  update CONTRIBUTORS for 2.3.42  updated CHANGELOG for 2.3.42  Revert "bug#18908 [DependencyInjection] force enabling the external XML entity loaders (xabbuh)"  Partial revert of previous PR  [DependencyInjection] Skip deep reference check for 'service_container'  Catch \Throwable  [Serializer] Add missing@throws annotations  Fix for#18843  force enabling the external XML entity loaders  Removed UTC specification with timestampConflicts:src/Symfony/Component/Yaml/Tests/InlineTest.php
nicolas-grekas added a commit that referenced this pull requestJun 6, 2016
* 3.1:  `@throws` annotations should go after `@return`  Fix merge  updated VERSION for 2.3.42  update CONTRIBUTORS for 2.3.42  updated CHANGELOG for 2.3.42  Revert "bug#18908 [DependencyInjection] force enabling the external XML entity loaders (xabbuh)"  Partial revert of previous PR  [DependencyInjection] Skip deep reference check for 'service_container'  Catch \Throwable  [Serializer] Add missing@throws annotations  Fix for#18843  force enabling the external XML entity loaders  Removed UTC specification with timestamp
This was referencedJun 6, 2016
fabpot added a commit that referenced this pull requestJun 13, 2016
…ty loaders (xabbuh)This PR was merged into the 2.7 branch.Discussion----------[DependencyInjection] force enabling the external XML entity loaders| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#18876,#18908| License       | MIT| Doc PR        |Commits-------12b5509 force enabling the external XML entity loaders
@fabpotfabpot mentioned this pull requestJun 15, 2016
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@xabbuh@nicolas-grekas@sstok@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp