Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warn the user if uploading a file that is not json #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pimveldhuisen
Copy link

To prevent people from accidentally uploading just the whole .zip file from Google Takeout and waiting forever.

(This is definitely a hypothetical scenario and not something I did ;) )

@pimveldhuisen
Copy link
Author

Perhaps checking the file extension is not the best way of doing this, but the current behavior is an infinite wait, and the chances that you really really want this website to parse a JSON file that is not saved with a .json extension seems very slim to me.

@monstermac77
Copy link

To prevent people from accidentally uploading just the whole .zip file from Google Takeout and waiting forever.

This happened to me. Definitely should be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants