Skip to content

[Serializer] Allow to pass flags to XmlEncoder #17987

@rvanlaak

Description

@rvanlaak

Ever since we upgraded our server, libxml was upgraded to 2.9, which introduced a protection on the max text length.

We have one single route for which we want to add LIBXML_PARSEHUGE to the XmlEncoder, because an external party delivers us huge text nodes. Our problem is that the decoding happens (and makes the application crash) pre-controller in the FOS\RestBundle\EventListener\BodyListener:114. See #17956 and #16873 for more background information. What should be done to solve this:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy