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

File name in bulgarian gets mangled when written to the db #682

Open
gparlakov opened this issue Jan 18, 2025 · 0 comments
Open

File name in bulgarian gets mangled when written to the db #682

gparlakov opened this issue Jan 18, 2025 · 0 comments
Labels
type: bug Something isn't working

Comments

@gparlakov
Copy link
Contributor

Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)

No response

Describe the Bug

When uploading a file for a Campaign or Campaign application with a Bulgarian language name it gets mangled up in the db

Image

Original post https://discord.com/channels/778984868146577458/1136685006908035092/1317023487453429861

CampaignFile in DB
Image

It looks like the Next files construct fails when file name is in Bulgarian. Here's a screenshot of the campaign-application.service.ts and whith a file of name аватар-нов.png

Image

To Reproduce

  1. go to https://dev.podkrepi.bg/campaigns/application
  2. login
  3. when back in the wizard - fill in all details
  4. add a file with BG filename
  5. Send the Application request
  6. Edit the application
  7. notice the filename is now wrong

Expected Behavior

  1. the filename is still the file name you chose

Which browser are you using? (if relevant)

No response

@gparlakov gparlakov added the type: bug Something isn't working label Jan 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant