GithubHelp home page GithubHelp logo

Warning: DOMDocument::load(): I/O warning : failed to load external entity "/path/to/vendor/lorenzo/pinky/src/inky.xsl" about pinky HOT 4 CLOSED

DjLeChuck avatar DjLeChuck commented on May 28, 2024
Warning: DOMDocument::load(): I/O warning : failed to load external entity "/path/to/vendor/lorenzo/pinky/src/inky.xsl"

from pinky.

Comments (4)

lorenzo avatar lorenzo commented on May 28, 2024

I think that line should be added for all PHP versions. It is actually a security risk to leave that setting as true. I usually disable it globally.

It is indeed linked to the data that is used. XML has this security mis-feature that it lets you load more xml via the network depending on how you include the content, which creates security risks.

If you send me a PR with the line I'll merge it.

from pinky.

DjLeChuck avatar DjLeChuck commented on May 28, 2024

We have add the version check because the PHP doc says the function is obsolete since PHP 8.0: https://www.php.net/libxml_disable_entity_loader

OK for the PR, I will do it. Just let me know if I let the PHP version check or not.

from pinky.

lorenzo avatar lorenzo commented on May 28, 2024

yeah, do the version check to avoid deprecation notices

from pinky.

DjLeChuck avatar DjLeChuck commented on May 28, 2024

Here we go: #25

from pinky.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.