Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
EzxD opened this issue Jun 10, 2024 · 1 comment
Open
1 task done

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

EzxD opened this issue Jun 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@EzxD
Copy link

EzxD commented Jun 10, 2024

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

  • I agree to follow this project's Code of Conduct
@EzxD EzxD added the bug Something isn't working label Jun 10, 2024
@EzxD
Copy link
Author

EzxD commented Jun 10, 2024

FYI: \xfc is hex for ü

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant