httpie / desktop

🚀 HTTPie Desktop — cross-platform API testing client for humans. Painlessly test REST, GraphQL, and HTTP APIs.
https://httpie.io
Other
2.65k stars 31 forks source link

[Bug]: HTTPie encodes umlauts (ä, ü, ö) #174

Open EzxD opened 3 weeks ago

EzxD commented 3 weeks ago

What happened?

When having umlauts in the url, in my example as query params, it gets wrong "encoded". for example: GET localhost:8080/v1/company/search?name=grün grün gets encoded to gr\xfcn the server gets this request: /v1/company/search?name=gr\xfcn all methods are infected. It doesn't matter if its in a query param or anywhere in the url

Steps to reproduce?

1. Launch HTTPie
2. GET Request (but all methods are affected from this) to url with umlauts in url
3. wrong encoded

What did you expect to happen?

It's expected to send normal umlauts

Platform

macOS

HTTPie Desktop version

2024.1.2

Relevant log output

No response

Code of Conduct

EzxD commented 3 weeks ago

FYI: \xfc is hex for ü