kazupon/vue-i18n

Keys containing __proto__ are handled inconsistently

alxndrsn opened this issue · 0 comments

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