[Bug]: 404 error for league pages - PT/BR #2071
Labels
🐞 [A] bug
Something isn't working. Needs to be looked at.
🚨 [A] urgent
An urgent action needed on something
🎨 Frontend
Is there an existing issue for this?
🐞 Describe the bug
In leagues where the host country is spelled in PT-BR, when the link has the accent, a 404 error appears on the main competition page. In the case of the example, when 'italy' appears in the link (when you are on the page of a match in the competition and try to go to the main page of the league, you are directed to this link, with the accent), the error occurs. When you go to the competition page via the platform's home page, everything works fine, as the link is 'italy'.
🤔 Expected Behavior
The right thing to do would be for no link on the platform to contain accents, after all, it's more consistent with the standard. In this case, I believe it would be necessary to review other leagues that may have this case (in PT-BR), such as 'Bulgária' or 'Rússia'. Then we wouldn't have this problem with the 404 error.
What environment is the bug/issue detected in.
What browsers are you seeing the problem on?
What device/platform can the problem be seen?
Steps To Reproduce
Go to an Italian league match, such as Lecce vs Roma: https://scores.betarena.com/br/futebol/lecce-roma-18870633
On the match page, ask to go to the league's main page, in the top left corner (where it says Futebol - Itália - Serie A)
You will be redirected to this link, which contains the error: https://scores.betarena.com/br/futebol/itália/serie-a
Console Logs (if any)
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: