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

Better locale validation for unknown values #2363

Closed
1 task done
robotdan opened this issue Jul 7, 2023 · 1 comment
Closed
1 task done

Better locale validation for unknown values #2363

robotdan opened this issue Jul 7, 2023 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@robotdan
Copy link
Member

robotdan commented Jul 7, 2023

Better locale validation for unknown values

Description

The Java Locale object is very permissive, and we do a bunch of validation today to ensure we have a properly formed country code, etc.

However, it is still possible to create a Locale object that passes various validation this is not correct. Review our current validation and further restrict the values that can be stored in user.preferredLanguages and registration.preferredLanguages.

Documentation

  • Limit number of values to 20 for user or registration user.preferredLanguages and registration.preferredLanguages.

Community guidelines

All issues filed in this repository must abide by the FusionAuth community guidelines.

@robotdan robotdan self-assigned this Jul 7, 2023
@robotdan robotdan added the bug Something isn't working label Jul 7, 2023
@robotdan robotdan added this to Backlog in FusionAuth Issues via automation Jul 7, 2023
@robotdan robotdan added this to the 1.47.0 milestone Jul 7, 2023
@robotdan robotdan moved this from Backlog to In progress in FusionAuth Issues Jul 7, 2023
@robotdan
Copy link
Member Author

robotdan commented Jul 8, 2023

@robotdan robotdan moved this from In progress to Code complete in FusionAuth Issues Jul 8, 2023
@robotdan robotdan moved this from Code complete to Reviewer approved in FusionAuth Issues Jul 9, 2023
@robotdan robotdan moved this from Reviewer approved to Done in FusionAuth Issues Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
FusionAuth Issues
  
Delivered
Development

No branches or pull requests

1 participant