-
-
Notifications
You must be signed in to change notification settings - Fork 894
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
NoMongo: Replace Base64 Storage with MinIO Client in VenueModal.tsx #3725
Comments
Can i work on this? |
Our policy is to assign no more than two issues to each contributor across all repositories. This way everyone gets a chance to participate in the projects. We sometimes give exceptions for more urgent cases and sometimes we lose track, but the policy stands. You have reached your limit, please wait until your existing issues are closed before requesting more issues. You could unassign yourself from one of the other issues too. |
Please assign this issue to me |
i have submited the pr for that issues that's why i am asking for this new issue |
How's progress on this? It needs to be completed as a GSoC prerequisite. |
Problem
VenueModal.tsx currently stores images using Base64 encoding, leading to high memory usage and slower performance.
Solution
Replace Base64 encoding with MinIO client for direct file uploads, storing only file URLs.
Alternatives Considered
Approach
Additional Context
This update will enhance performance, reduce data transfer size, and improve storage efficiency.
NOTE
We recently discovered a flaw in the code base where there are some XSS and CORS vulnerabilities. This occurs when the API and Admin servers run on different machines.
You will notice this if you configure your Admin app on your local machine to use the API running on https://test.talawa.io/graphql.
The errors in your browser will look like this:
As part of this issue you will need to ensure that the browser only interacts with the API through the Admin server and never with the API directly.
The text was updated successfully, but these errors were encountered: