Skip to content
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

1 participant