Kong / insomnia

The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
https://insomnia.rest
Apache License 2.0
34.69k stars 1.97k forks source link

[Bug] Escaped array params in CURL (bash) copy paste #1963

Open LoicHa opened 4 years ago

LoicHa commented 4 years ago

I have this simple request made on chrome : image

http://localhost/stats?year=2020&user=&download=true&groups[0]=agency&groups[1]=team&groups[2]=user&groups[3]=personal

The result when i copy CURL (bash) image

and paste it to insomnia

The array parameters are some kind of escaped

image

jgiovaresco commented 3 years ago

👋 @LoicHa

It seems that Chrome has been updated. I can't see Copy as cURL (bash) anymore

image

You should be ok now 😅

LoicHa commented 3 years ago

@jgiovaresco Hello : ) Sadly i still have the same issue and my cURL option has not changed so far .. :'( Chrome Version 86.0.4240.183 on Windows Insomnia 2020.4.2

jgiovaresco commented 3 years ago

Ok I've reproduced the behavior: it is related to Windows... I should be able to work on a fix ;)

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.