You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extract FileExtension routine from Accept content negotiation
Add a dedicated FileExtension routine that handles URL extension
mapping (.json, .html, etc.) independently from Accept header
negotiation. Only declared extensions are stripped during route
matching, so dots in paths like /users/john.doe no longer get
mangled.
Multiple FileExtension routines can cascade for compound extensions
like .json.en — each peels its extension from right to left.
Decouple AbstractAccept from IgnorableFileExtension entirely,
making it pure header-based content negotiation. Promote
IgnorableFileExtension from marker interface to a real interface
with getExtensions() so route matching knows exactly which
extensions to strip.
0 commit comments