Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pdfminer.six
# -----------------------------------------------------------------------------
# Pin specific versions for Docker builds
Pillow==11.1.0
fastapi==0.112.2
fastapi==0.135.1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FastAPI upgrade enables strict Content-Type checking by default

Medium Severity

Bumping fastapi from 0.112.2 to 0.135.1 activates the strict Content-Type validation introduced in 0.132.0. All FastAPI() instantiations in the codebase (in fastapi_endpoint.py and fastapi_endpoint_registry.py) lack the strict_content_type=False parameter. POST/PUT/PATCH requests from API clients that omit a valid Content-Type: application/json header will now be rejected with 422 errors instead of being processed normally.

Fix in Cursor Fix in Web

# Note: requests/urllib3 versions constrained by Odoo's requirements.txt

# Excel support (xlrd is used by spp_manual_entitlement)
Expand Down
Loading