desktop icon indicating copy to clipboard operation
desktop copied to clipboard

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

Open EzxD opened this issue 1 year ago • 1 comments

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

  • [X] I agree to follow this project's Code of Conduct

EzxD avatar Jun 10 '24 16:06 EzxD

FYI: \xfc is hex for ü

EzxD avatar Jun 10 '24 16:06 EzxD