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

Character name with a slash (/) does not encode in the URL as %2F #3499

Open
Alcedine opened this issue Jan 9, 2025 · 1 comment
Open

Character name with a slash (/) does not encode in the URL as %2F #3499

Alcedine opened this issue Jan 9, 2025 · 1 comment
Labels
needs-triage Needs to be triaged by a developer and assigned a release

Comments

@Alcedine
Copy link

Alcedine commented Jan 9, 2025

What happened?

If a character goes by an alias and both names are included in the metadata separated by a slash (for example, something like "Okarun / Ken Takakura"), clicking on the character's name to go to the bio page goes to a bad url.

What did you expect?

The slash character in the name should be encoded for the url as %2F in order to navigate properly to the page, eg:
https://sticky-antelope.pikapod.net/person/Okarun%20%2F%20Ken%20Takakura
instead of:
https://sticky-antelope.pikapod.net/person/Okarun%20/%20Ken%20Takakura

Kavita Version Number - If you don not see your version number listed, please update Kavita and see if your issue still persists.

0.8.4.2 - Stable

What operating system is Kavita being hosted from?

None

If the issue is being seen on Desktop, what OS are you running where you see the issue?

Mac

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Safari

If the issue is being seen on Mobile, what OS are you running where you see the issue?

iOS

If the issue is being seen on the Mobile UI, what browsers are you seeing the problem on?

Safari

Relevant log output

No response

Additional Notes

No response

@Alcedine Alcedine added the needs-triage Needs to be triaged by a developer and assigned a release label Jan 9, 2025
@majora2007
Copy link
Member

Good catch and an easy fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Needs to be triaged by a developer and assigned a release
Projects
Development

No branches or pull requests

2 participants