IBX-11952: Made system resilient to Accept-Language: * locale - #804
Merged
Conversation
|
ibexa-workflow-automation-1
Bot
requested review from
Steveb-p,
ViniTou,
alongosz,
barw4,
bnowak,
ciastektk,
mikadamczyk,
tbialcz and
wiewiurdp
and removed request for
a team
August 11, 2026 09:00
bnowak
approved these changes
Aug 11, 2026
mikadamczyk
approved these changes
Aug 12, 2026
katarzynazawada
approved these changes
Aug 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Related PRs:
Accept-Language: *locale admin-ui#2003Description:
This issue surface while working on MCP integration for SaaS. MCP clients (MCP Inspector, Claude etc) send
Accept-Language: *. The MCP routes in SaaS by default resolve to the admin siteaccess, where Ibexa AdminUi'sRequestLocaleListenerfeeds the request's preferred locale intosetLocale('*').It is rejected by the
Symfony translator ("Invalid \"*\" locale")and the request 500s. MCP is a locale-agnostic JSON-RPC API and concerningAccept-Language: *(RFC 7231 "any language") is a valid header value but not a concrete locale, we should be at least prepared to have a fallback instead of crashing the application.For QA:
Documentation: