symfony/http-foundation 6.4.14 breaks object log entries with labels causing invalid uri's

Created on 29 January 2025, about 1 month ago

Problem/Motivation

A change in symfony/http-foundation 6.4.14 is causing any object_log detail label that contains characters that would make an uri invalid to break. The change in question is the new exception introduced in this commit:
https://github.com/symfony/http-foundation/commit/32310ff3aa8126ede47168...

Steps to reproduce

Can be reproduced by having object_log labels contain f.ex. backslashes (as common when using __METHOD__ as the label name) or trailing spaces (f.ex. by using object_log('test ', 'test'); )

Proposed resolution

Change the object detail route and controller to use a query parameter instead of having the label as a route parameter

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇧🇪Belgium Den Tweed

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024