mirror of https://github.com/zulip/zulip.git
fe28ecb71d
Computed indexing into an object, especially with a user-provided key, can be dangerous in JavaScript because of nonsense features like obj["__proto__"]. In this case there’s no vulnerability because the possible keys are strictly limited by the regex, but it’s always better practice to use a Map for computed indexing. Signed-off-by: Anders Kaseorg <anders@zulip.com> |
||
---|---|---|
.. | ||
assets | ||
audio | ||
generated | ||
html | ||
images | ||
js | ||
shared | ||
styles | ||
templates | ||
third | ||
.gitignore |