https抓取到的post请求参数有buffer类型的,如何解析?
- Dominant language
- JavaScript
- Stars
- 7.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Plese fill the template when you reporting a new issue, thanks!
anyproxy捕获到的https的post请求下的form的数据下有buffer类型的,无法解析
已经确认证书已经都安装了
代码片段:
let requestDataBuff = requestDetail.requestData.toString();
console.log(requestDataBuff);
#### Which platform are you running AnyProxy
Windows
#### The version of the AnyProxy
4.0.12
#### Your expected behavior of AnyProxy
能解析出requestDetail.requestData中buffer的内容
{
“xxx”:"yyy",
"zzzz":"ppp",
}
#### The actual behavior of AnyProxy
�VKs�0�5ěCN���BZ@�����W�)�i2=�Љdz�w�]��[a~�+nvq�m�c��w��YE��\��5�Sd�갨���ߝ|�����Dt7�V@�� ɡ��7kL8��童�F�a5���,σ&��l_c0ί\�8]1܍BHf�K]o2#�*�G�B�F(� ��]��f�D#��&ڂ�~�V�� �Q�@j���ܤ*�\P�I�G�Am�؋��Q�#(}��)�r-ZFf�-�[[ �n��%��� ̼0|����O�s*� ^��Vi�Wy�i��:�Yu��A�e��x��b�Q�=�'B1�2�lK�<��T�*�p�2���K��s=ݠ)}�����*m�j���/�z\ Ϙ����}�A�e��$GI\�8ť_��*��������Qp�U�4��s�5��%5�8~��t�!n�,L"/�3��E�ľr��N�w�������zᇓ� ����;e�%�z����y�S��z��
����^�+S �t �.�7R��r�t����?�X�$(K���,Jk�FU�@D9d4e.�8�웂��H_�L/at�m
#### The log of the error
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the requestDetail.requestData value shown in the snippet and inspect the captured request's encoding and form representation before converting the buffer to text. Compare the bytes with the expected form fields and document or test a reproducible request where the contents can be parsed correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100