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

Keys containing __proto__ are handled inconsistently #1706

Open
5 tasks done
alxndrsn opened this issue May 3, 2024 · 0 comments
Open
5 tasks done

Keys containing __proto__ are handled inconsistently #1706

alxndrsn opened this issue May 3, 2024 · 0 comments
Labels
Status: Review Needed Request for review comments

Comments

@alxndrsn
Copy link

alxndrsn commented May 3, 2024

Reporting a bug?

PR demonstrating inconsistencies at #1705

Expected behavior

Either:

  1. treat keys containing __proto__ this same as any other key, or
  2. reject any key containing __proto__

Reproduction

#1705

System Info

N/A

Screenshot

No response

Additional context

Currently the only mention of __proto__ in this repo is at:

// use simple mergeStrategies to prevent i18n instance lose '__proto__'

Validations

@alxndrsn alxndrsn added the Status: Review Needed Request for review comments label May 3, 2024
alxndrsn pushed a commit to alxndrsn/vue-i18n that referenced this issue May 3, 2024
This changes current support for __proto__ in key paths.

See: kazupon#1706
alxndrsn pushed a commit to alxndrsn/vue-i18n that referenced this issue May 3, 2024
This changes current support for __proto__ in key paths.

See: kazupon#1706
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

1 participant