gchq / gchq/CyberChef

bug(AMF Encode): Uncaught Error Value cannot be set on this type [Qe]

Open
#2,491 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
JavaScript
Stars
35.8k
Forks
4.1k
Avg merge
2d 26m
Merged PRs (30d)
33

Description

To reproduce that, drag AMF Encode and set input to `{"a": []}`

as you can see an uncaught error look like that

```js
AMF Encode - Error in https://gchq.github.io/CyberChef/modules/Encodings.js on line 2.

Message: Value cannot be set on this type [Qe]
```

Direct Test Link:
- https://gchq.github.io/CyberChef/#recipe=AMF_Encode('AMF3')&input=eyJhIjogW119&oenc=65001&oeol=VT

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.