fix(server): validate Content-Type by parsed media type instead of substring match (#2441)

This commit is contained in:
Felix Weinberger 2026-07-06 20:29:58 +01:00 • committed by GitHub
commit 561c6d8345
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,7 +41,6 @@ catalogs:
jose: ^6.1.3
runtimeServerOnly:
'@hono/node-server': ^1.19.9
content-type: ^1.0.5
cors: ^2.8.5
express: ^5.2.1
fastify: ^5.2.0
@ -51,6 +50,7 @@ catalogs:
'@cfworker/json-schema': ^4.1.1
ajv: ^8.17.1
ajv-formats: ^3.0.1
content-type: ^1.0.5
json-schema-typed: ^8.0.2
pkce-challenge: ^5.0.0
zod: ^4.2.0