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

Cannot add the item containing Unicode characters to checklist #30

Open
bohonghuang opened this issue Feb 22, 2022 · 2 comments
Open

Cannot add the item containing Unicode characters to checklist #30

bohonghuang opened this issue Feb 22, 2022 · 2 comments

Comments

@bohonghuang
Copy link

bohonghuang commented Feb 22, 2022

After typingM-x habitica-add-item-to-checklist and entering "UTF-8 Test", I got following error messages in *Messages* buffer:

url-http-create-request: Multibyte text in HTTP request: POST /api/v3/tasks/69893d8f-3425-435f-b95a-d62c7706085d/checklist/ HTTP/1.1
MIME-Version: 1.0
Connection: keep-alive
Extension: Security/Digest Security/SSL
Host: habitica.com
Accept-encoding: gzip
Accept: */*
User-Agent: URL/Emacs Emacs/29.0.50 (PureGTK; x86_64-pc-linux-gnu)
Cookie: connect:sess.sig=XXXXXXXXX; connect:sess=XXXXXXXXXXX
Content-Type: application/x-www-form-urlencoded
x-api-user: ...
x-api-key: ...
Content-length: 15

text=UTF-8 Test
@abrochard
Copy link
Owner

Thanks for reporting this!
I just edited your message to hide the cookie content. Probably not stuff you should be posting on public internet to be safe.
As to the problem itself, we might need to tweak the encoding before sending the payload.

@bohonghuang
Copy link
Author

Thanks for reporting this! I just edited your message to hide the cookie content. Probably not stuff you should be posting on public internet to be safe. As to the problem itself, we might need to tweak the encoding before sending the payload.

Oh I just forgot it. Thanks for the reminder and your effort to address this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants