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

fix: decode media names before inserting into the database #18019

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

Conversation

Sahil06012002
Copy link
Contributor

Purpose / Description

This PR resolves an issue where media names were stored in an encoded format, leading to incorrect file handling. The update ensures media names are properly decoded before insertion into the database, improving data consistency and preventing unintended deletions.

Fixes

Approach

  • Decoded media names before inserting them into the database to ensure correct storage and retrieval.
  • Verified that Check Media now correctly identifies and reports media usage.
  • Improved data consistency by ensuring filenames remain in their expected format.

How Has This Been Tested?

Checklist

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

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.

Check Media Deletes Used Files
1 participant