zalando/logbook

When the request method is x-www-form-urlencoded, Spring Boot cannot receive parameters using entity classes

Opened this issue · 1 comments

Description

After introducing Logbook, I found that the interface could not accept form data, but there were form data records in Logbook's request log.
C7B029D5-61B5-46D9-BA41-7AB1F6B826CD
F7BE41F5-C9B4-4F72-AE5D-8BAF26077CF1

The logbook request log clearly records the request parameters.
20240728195250

After removing logbook from the project, I can receive request parameters.
20240728194929

Possible Fix

I want to confirm if this is a bug or if it doesn't support content type=application/x-www-form-urlencoded.

Your Environment

  • springboot 2.7.18 / logbook 3.9.0
  • properties
    20240728200820

When I switch to content type=application/form data, the interface can receive parameters.
20240728201435
20240728201639
20240728201804