Skip to content
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
@orenyk

Description

@orenyk

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions