psitransfer icon indicating copy to clipboard operation
psitransfer copied to clipboard

Download-Password supports only ASCII characters

Open aronwk-aaron opened this issue 1 year ago • 1 comments

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.

aronwk-aaron avatar Mar 03 '25 06:03 aronwk-aaron

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 avatar Mar 03 '25 09:03 psi-4ward