This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
Handle invalid Unicode characters during import CSV upload #1271
Closed
Description
Currently, if you pass in a CSV file with an invalid unicode character during import (see this article for more details) it just throws an exception (ArgumentError (invalid byte sequence in UTF-8)
) and sends back a 500 error, so the user has no idea what's going on. We should either sanitize our inputs (see the previously linked article) or rescue the exception.
Activity