calpaterson / csvbase

a simple website for sharing table data - with an API
https://csvbase.com
GNU Affero General Public License v3.0
376 stars 13 forks source link

We don't reject obviously bad files #123

Open calpaterson opened 6 months ago

calpaterson commented 6 months ago

Description

Occasionally users are inventive and try to upload file formats that we don't support

Steps to reproduce

  1. http://localhost:6001/new-table/upload-file
  2. Upload sqlite database file

Expected result

Some kind of 400

Actual result

500

Additional details

Nice to tell them what they've done wrong and also save me the time from investigating

CSVBASE-2F