Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Serializer] Allow to pass flags to XmlEncoder #17987

Closed
@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