brookshi / Hitchhiker

a Restful Api test tool
http://www.hitchhiker-api.com
Other
2.19k stars 402 forks source link

x-www-form-urlencode内参数转义问题 #269

Open orzcncn opened 5 years ago

orzcncn commented 5 years ago

1. What went wrong (哪里出错)? Please describe what went wrong (请描述bug的具体表现)

2. Steps to reproduce the problem (重现步骤): Clear and concise reproduction instructions are important for us to be able to triage your issue in a timely manner (简洁清晰的重现步骤能够帮助我们更迅速地定位问题所在)

3. What is the expected behavior (期望表现)? Please describe the expected behavior (请描述期望表现)

4. Did this work before (之前是否正常)? [Yes, No, N/A] [是,否,之前没用过]

orzcncn commented 5 years ago

9001错误是无法解析到参数中的token导致的

brookshi commented 5 years ago

你是怎样传这form的呢,因为看console那里看上去像是把p放到json里了,我试了下: image image

orzcncn commented 5 years ago
orzcncn commented 5 years ago

form的value是一个json 但是类似这个带有引号转义的json出现 Hitchhiker就要失灵,而使用如下简单json,就是正常的

image