Bugfix: Upload password from csv, Cannot upload because there are Chinese characters in the csv

Checklist
[ ] I have read intro post: About the Installation Issues category
[ ] I have read the tutorials, help and searched for similar issues
[ ] I provide relevant information about my server (component names and versions, etc.)
[ ] I provide a copy of my logs and healthcheck
[ ] I describe the steps I have taken to trouble shoot the problem
[ ] I describe the steps on how to reproduce the issue

Steps to reproduce

  1. Create csv file,with data
    “Group”,“Title”,“Username”,“Password”,“URL”,“Notes”
    “My Servers好的”,“Account1”,“account1”,“P4ssw0Rd!”,“https://test.url”,“this is the description”

  2. Save this csv file, and upload this password file to passbolt, then it’s not working

  3. error code in chrome console with this

app.js:2 Uncaught (in promise) DOMException: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.
    at FileReader.e.onloadend (chrome-extension://didegimhafipceonhjepacocaffmoppf/data/js/dist/app.js:2:627543)
  1. How to fix this?
    remove string 好的, and save csv file, it working, When you remove 好 or 的, it‘s also working well, I don’t know why, this must be a bug, thanks you for fix it

Hi @noinlj thanks for the report, this is indeed a bug. We’ll be publishing a fix soon.

Hi @noinlj, the fix has been deploy on Passbolt v3.2.3.

1 Like