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

Check static files for file types RNGS won't allow on upload #24

Closed
hobbes7878 opened this issue Nov 3, 2021 · 2 comments
Closed

Check static files for file types RNGS won't allow on upload #24

hobbes7878 opened this issue Nov 3, 2021 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@hobbes7878
Copy link
Member

Would be good to offer a better warning than RNGS does. Trouble is, I don't know what the disallowed filetypes are, but could maybe guess against CSV/JSON data, plus valid images, videos and font types??

@hobbes7878 hobbes7878 added the enhancement New feature or request label Nov 3, 2021
@hobbes7878 hobbes7878 self-assigned this Nov 3, 2021
@hobbes7878
Copy link
Member Author

Alternative to failing is to warn if anything outside of regular filetypes is in staticfiles. Can still proceed and try your luck, but at least we've got the message across that there may be something unacceptable in there.

@hobbes7878 hobbes7878 reopened this Nov 5, 2021
@hobbes7878
Copy link
Member Author

Reopening to put a hard check in with the file types allowed by the server as documented here:
https://thehub.thomsonreuters.com/docs/DOC-2966287

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

No branches or pull requests

1 participant