|
const directives = locale.split(';q='); |
As brought op on SO here and related to this dotnet issue:
fr; q=1.0 (with a space between ; and q) is a valid accept-language header value. So, getLocaleFromAcceptLanguageHeader() should allow for (at least 1) white-space there.
precompile-intl-runtime/src/includes/localeGetters.ts
Line 68 in 83c7d0e
As brought op on SO here and related to this dotnet issue:
fr; q=1.0(with a space between ; and q) is a valid accept-language header value. So,getLocaleFromAcceptLanguageHeader()should allow for (at least 1) white-space there.