Incorrectly decoded tag names cause URIError: URI malformed #4125
Labels
💻 aspect: code
Concerns the software code in the repository
🛠 goal: fix
Bug fix
🟧 priority: high
Stalls work on the project or its dependents
🧱 stack: frontend
Related to the Nuxt frontend
Description
Some tags in the database were encoded incorrectly, and we decode them in the frontend:
openverse/frontend/src/utils/decode-data.ts
Lines 14 to 24 in b2f3fd6
Some combinations are incorrect and are converted to combinations that cannot be URI encoded. When we try to use them as part of the tag collection url, we get an unhandled gray screen exception.
For instance, the
udadd
inciudaddelassiencias
is incorrectly decoded.Sentry Issue
OPENVERSE-FRONTEND-1VB
The text was updated successfully, but these errors were encountered: