1
0
Fork 0
mirror of synced 2025-04-01 20:36:14 +03:00
doctrine2/lib/Doctrine/ORM/Mapping
Aljosha Papsch eb762dea23 XmlDriver: Avoid PHP bug #62577 by avoiding simplexml_load_file.
Doctrine is affected by PHP bug #62577. simplexml_load_file is not
able to load files if libxml_disable_entity_loader(true) has been
called. simplexml_load_file fails with the message:

I/O warning : failed to load external entity "/my/mappings/my_entity.dcm.xml"
in /path-to/lib/Doctrine/ORM/Mapping/Driver/XmlDriver.php on line 711

This error occurs even if there are no external entities in the XML file.

Waiting for the PHP bug to be resolved is infeasible, because it is
unresolved since years. Therefore Doctrine needs to circumvent the bug
by replacing simplexml_load_file with simplexml_load_string while getting
the file contents itself. simplexml_load_string is not affected by the
PHP bug.
2017-08-18 14:23:43 +02:00
..
Builder Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
Driver XmlDriver: Avoid PHP bug #62577 by avoiding simplexml_load_file. 2017-08-18 14:23:43 +02:00
Reflection #1272 DDC-2704 - property getter utility is package private 2015-01-24 14:29:40 +01:00
Annotation.php LGPL => MIT 2012-05-26 14:37:00 +02:00
AnsiQuoteStrategy.php Prefixing alias counter with _ to fix DDC-3042 and prevent collisions 2014-04-04 03:05:48 +02:00
AssociationOverride.php #5934 - add fetch option to AssociationOverride in order to override fetch strategy for subclasses of entities 2017-05-30 18:19:48 +02:00
AssociationOverrides.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
AttributeOverride.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
AttributeOverrides.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
Cache.php Fix docs 2013-12-16 11:05:05 -05:00
ChangeTrackingPolicy.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
ClassMetadata.php Reusing chained driver now available in common, fixing cs/code smells and removing duplicate docs. 2012-07-04 20:59:22 +02:00
ClassMetadataFactory.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
ClassMetadataInfo.php minor code work: 2017-06-08 22:04:07 +02:00
Column.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
ColumnResult.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
CustomIdGenerator.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
DefaultEntityListenerResolver.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
DefaultNamingStrategy.php Fixed many small phpcs issues 2015-12-11 20:30:41 +01:00
DefaultQuoteStrategy.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
DiscriminatorColumn.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
DiscriminatorMap.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
Embeddable.php fixes annotation context 2013-11-01 22:33:59 +01:00
Embedded.php columnPrefix must support string and boolean, so changing to mixed 2014-03-14 12:29:01 +01:00
Entity.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
EntityListenerResolver.php Fixed many small phpcs issues 2015-12-11 20:30:41 +01:00
EntityListeners.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
EntityResult.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
FieldResult.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
GeneratedValue.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
HasLifecycleCallbacks.php LGPL => MIT 2012-05-26 14:37:00 +02:00
Id.php LGPL => MIT 2012-05-26 14:37:00 +02:00
Index.php Refactor partial into options array 2014-07-22 10:32:31 +09:00
InheritanceType.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
JoinColumn.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
JoinColumns.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
JoinTable.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
ManyToMany.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
ManyToOne.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
MappedSuperclass.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
MappingException.php Fix notice in ClassMetadata when there is no ID Column defined 2017-04-30 11:38:47 +02:00
NamedNativeQueries.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
NamedNativeQuery.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
NamedQueries.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
NamedQuery.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
NamingStrategy.php minor code work: 2017-06-08 22:04:07 +02:00
OneToMany.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
OneToOne.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
OrderBy.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
PostLoad.php LGPL => MIT 2012-05-26 14:37:00 +02:00
PostPersist.php LGPL => MIT 2012-05-26 14:37:00 +02:00
PostRemove.php LGPL => MIT 2012-05-26 14:37:00 +02:00
PostUpdate.php LGPL => MIT 2012-05-26 14:37:00 +02:00
PreFlush.php LGPL => MIT 2012-05-26 14:37:00 +02:00
PrePersist.php LGPL => MIT 2012-05-26 14:37:00 +02:00
PreRemove.php LGPL => MIT 2012-05-26 14:37:00 +02:00
PreUpdate.php LGPL => MIT 2012-05-26 14:37:00 +02:00
QuoteStrategy.php Cleaned up further unused imports. 2014-02-09 23:45:22 +00:00
ReflectionEmbeddedProperty.php #1213 - DDC-3437 - renaming variables/alignment/clarifications in docblocks 2014-12-08 01:22:20 +01:00
SequenceGenerator.php Fixed documentation for ORM\Mapping 2012-12-03 09:36:08 +00:00
SqlResultSetMapping.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
SqlResultSetMappings.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
Table.php Use short-array syntax on "lib" directory 2016-12-08 00:31:12 +01:00
UnderscoreNamingStrategy.php Include className in calls to NamingStrategy joinColumnName method. 2015-01-17 23:57:52 +01:00
UniqueConstraint.php Refactor partial into options array 2014-07-22 10:32:31 +09:00
Version.php LGPL => MIT 2012-05-26 14:37:00 +02:00