Skip to content

Consider silencing libxml_disable_entity_loader instead of conditional PHP 8 checks #26801

Done

Description

@LukasReschke

Activity

  1. LukasReschke commented on Apr 28, 2021

    @LukasReschke
    MemberAuthor

    Ref https://phabricator.wikimedia.org/T268847 for libxml_set_external_entity_loader

  2. added
    0. Needs triage
    on May 20, 2021
  3. szaimen commented on Jul 6, 2021

    @szaimen
  4. added
    1. to develop
    and removed
    0. Needs triage
    on Aug 8, 2021
  5. susnux commented on Nov 30, 2026

    @susnux
    Contributor

    Since #39490 (Nextcloud 28), the server sets a global libxml_set_external_entity_loader() that returns null when it boots. This blocks external entity loading for all XML parsing, and most of the conditional libxml_disable_entity_loader() handling is gone. That covers what was proposed here, so I'm closing this. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developenhancementsecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions