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

Commit34b465d

Browse files
committed
Make security schema deterministic
1 parente79eea1 commit34b465d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎src/Symfony/Bundle/SecurityBundle/Resources/config/schema/security-1.0.xsd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
<xsd:elementname="memory"type="memory" />
118118
<xsd:elementname="ldap"type="ldap" />
119119
<!-- allow factories to use dynamic elements-->
120-
<xsd:anyprocessContents="lax" />
120+
<xsd:anyprocessContents="lax"namespace="##other"/>
121121
</xsd:choice>
122122
<xsd:attributename="name"type="xsd:string"use="required" />
123123
<xsd:attributename="id"type="xsd:string" />
@@ -176,7 +176,7 @@
176176
<xsd:elementname="x509"type="x509"minOccurs="0"maxOccurs="1" />
177177
<xsd:elementname="required-badge"type="xsd:string"minOccurs="0"maxOccurs="unbounded" />
178178
<!-- allow factories to use dynamic elements-->
179-
<xsd:anyprocessContents="lax"minOccurs="0"maxOccurs="unbounded" />
179+
<xsd:anyprocessContents="lax"minOccurs="0"maxOccurs="unbounded"namespace="##other"/>
180180
</xsd:choice>
181181
<xsd:attributename="name"type="xsd:string"use="required" />
182182
<xsd:attributename="pattern"type="xsd:string" />

‎src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,6 +777,6 @@ private function loadFromExtensions(\DOMDocument $xml)
777777
*/
778778
publicstaticfunctionconvertDomElementToArray(\DOMElement$element)
779779
{
780-
return XmlUtils::convertDomElementToArray($element);
780+
return XmlUtils::convertDomElementToArray($element,false);
781781
}
782782
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp