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

Download-Password supports only ASCII characters #329

Open
aronwk-aaron opened this issue Mar 3, 2025 · 1 comment
Open

Download-Password supports only ASCII characters #329

aronwk-aaron opened this issue Mar 3, 2025 · 1 comment
Labels

Comments

@aronwk-aaron
Copy link

Friend sent me some files with a password on the, and the password was in Japanese.
I got this error in the console when trying to decrypt the file.

TypeError: XMLHttpRequest.setRequestHeader: Cannot convert argument 2 to ByteString because the character at index 0 has value 12497 which is greater than 255.
@psi-4ward
Copy link
Owner

Hmm yes, sorry but for now we support only ASCII characters cause of HTTP specification.

We could base64 encode the password to workaround this.

@psi-4ward psi-4ward added the bug label Mar 3, 2025
@psi-4ward psi-4ward changed the title Cannot convert argument 2 to ByteString Download-Password supports only ASCII characters Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants