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(alias): encode path again to match the alias in database #1645

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

hugotiburtino
Copy link
Member

@hugotiburtino hugotiburtino commented Jul 2, 2024

Before, the encoded path was sent to the database layer. It is strange that we decode, encode and decode it again
See the old code in https://github.com/serlo/api.serlo.org/pull/1573/files
I can't see the reason for this repetition back then. We may try to just decode once and not encode at all.

https://de.serlo-staging.dev/community/neue-f%C3%A4cher-themen is now working again. Unfortunatelly some Spanish alias aren't working still, I'll keep investigating.

Before, the encoded path was sent to the database layer.
It is strange that we decode, encode and decode it again, can't see
the reason for it now. We may try not to encode it at all in the future.
@hugotiburtino hugotiburtino merged commit 67d4fb7 into staging Jul 2, 2024
9 checks passed
@hugotiburtino hugotiburtino deleted the fix-accent-umlaut branch July 2, 2024 23:51
@hugotiburtino hugotiburtino requested review from elbotho and kulla July 2, 2024 23:58
@hugotiburtino hugotiburtino mentioned this pull request Jul 3, 2024
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.

1 participant