Skip to content

[Routing]  #23109

Closed
Closed
@Gribnif

Description

@Gribnif
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no
Symfony version >=3.3

#1c5a24 introduced a strict check on unserialize() within Route.php, which is good for security. However, it causes a failure if the compiled route's class is anything other than CompiledRoute. This is the case in Drupal, where the serialized object of a route requires \Drupal\Core\Routing\CompiledRoute.

Might I suggest adding the ability to set the list of allowed classes somehow?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions