-
Notifications
You must be signed in to change notification settings - Fork 4
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
Implement image validation in backend #57
Milestone
Comments
What about size? You can also validate the actual headers of files: https://github.com/ahupp/python-magic |
Got merged with resizable in my mind. Will add it to the issue
Good idea! In inference_request we already divide files from headers, we can incorporate a check there |
MaxenceGui
pushed a commit
that referenced
this issue
Feb 20, 2024
5 tasks
5 tasks
MaxenceGui
pushed a commit
that referenced
this issue
Mar 20, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Mar 20, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Mar 20, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Mar 20, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Mar 20, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Mar 21, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Apr 2, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Apr 3, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Apr 5, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Apr 8, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Apr 8, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Apr 10, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Apr 10, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Apr 10, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Apr 10, 2024
MaxenceGui
pushed a commit
that referenced
this issue
Apr 10, 2024
fixes #57: Implement image validation in backend
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue description
The system doesn't validate that actual images are uploaded to the blob storage. Nachet Interactive should only accept user images when using this feature (image upload).
Steps to Reproduce
Expected Behavior
The system should notify the users if the image they try to upload does not satisfy the validation.
Current Behavior
The system does not notify the users if the image is not an image.
Possible Solution
Test the image with two checks:
Additional Context
Tasks
The text was updated successfully, but these errors were encountered: