Skip to content
This repository has been archived by the owner on Jan 2, 2019. It is now read-only.

Disabled libxml external entity loading by default. #322

Merged
merged 1 commit into from
Feb 21, 2014
Merged

Disabled libxml external entity loading by default. #322

merged 1 commit into from
Feb 21, 2014

Conversation

maartenba
Copy link
Member

If you want to allow loading external entity references in XML, call PHPExcel_Settings::setLibXmlLoaderOptions(0).

If you want to allow loading external entity references in XML, call PHPExcel_Settings::setLibXmlLoaderOptions(0).
maartenba added a commit that referenced this pull request Feb 21, 2014
Disabled libxml external entity loading by default.
@maartenba maartenba merged commit e04bf7e into PHPOffice:develop Feb 21, 2014
@MarkBaker
Copy link
Member

Thanks for this Maarten, I've been kinda busy of late

@maartenba
Copy link
Member Author

No worries. Can you prepare a release with this one in somewhere in the next days/weeks?

@MarkBaker
Copy link
Member

I'm hoping I'll get the 1.8.0 release done before the end of this month, so it'll be included in that

@MarkBaker
Copy link
Member

Already ahead on the Simple XML load rather than XML Reader: I've added it into the getLibXmlLoaderOptions() method so it's called every time.... perhaps not the cleanest way of doing it, but it does make it easier as we transition from SimpleXML to XMLReader

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants