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

Pre-filter file upload extensions client-side #41

Open
vphantom opened this issue Feb 23, 2017 · 0 comments
Open

Pre-filter file upload extensions client-side #41

vphantom opened this issue Feb 23, 2017 · 0 comments

Comments

@vphantom
Copy link
Owner

Regardless of server-side filtering, let's try to filter client-side. This means that our current change handler for the input widget should look at the value and actually reset the input and display an error message if the extension isn't allowed.

This means 1) we must create an array of extensions from config.ini into JavaScript. (We already do languages, so this is doable.) And 2) we have to figure out the simplest way to avoid having gettext() client-side just for this one message...

@vphantom vphantom added this to the v1.2.0 Usability Improvements milestone Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant