Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise AcceptHeaderLocaleResolver default locale handling [SPR-15426] #19987

Closed
spring-issuemaster opened this issue Apr 10, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@spring-issuemaster
Copy link
Collaborator

commented Apr 10, 2017

Juergen Hoeller opened SPR-15426 and commented

As pointed out against #18884, AcceptHeaderLocaleResolver's default locale currently only kicks in if no Accept-Language header has been specified. It should also kick in if no supported locale is found in a given header, aligning with #17915.


Affects: 4.3.7

Issue Links:

  • #17915 Flexible locale resolution based on supported languages
  • #18884 AcceptHeaderLocaleResolver should allow to define a default Locale
  • #21043 Invalid/missing locale strings in header prevents resolving the locale
  • #21002 AcceptHeaderLocaleResolver should match country locales against supported language locales
  • #20011 Make SessionLocaleResolver's attribute name configurable

Referenced from: commits a3d199f, ea98ee8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.