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
This repository was archived by the owner on May 26, 2022. It is now read-only.
/spoutPublic archive

Unable to open source data #864

Open
@VoigtK

Description

@VoigtK

I'm using spout for quite a while now. After upgrading php, and with that libxml, there is a huge issue.
Php >= 8 and/or libxml >= 2.9.0 by default setlibxml_disable_entity_loader(true);

This leads to the following error with any XLSX file in ReaderAbstract.php at line 130:
Could not open xxx for reading! (Warning: XMLReader::open(): Unable to open source data)

Usinglibxml_disable_entity_loader(false); should not be an option at all as it isdeprecated and opens up to XXE attacks.

Is there any other solution for this error?

EDIT:
I've made a protptye for demonstration:
Demo
Disabling the entity loader in line 58, as this is the php default, throws an exception.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2026 Movatter.jp