[GH-ISSUE #1565] Bug: Error in genre renaming #878

Closed
opened 2026-02-26 02:34:30 +03:00 by kerem · 2 comments
Owner

Originally created by @gelokatil on GitHub (Oct 28, 2022).
Original GitHub issue: https://github.com/koel/koel/issues/1565

Describe the bug
Hi,

I have detected an error in the creation of genre labels, I have renamed a genre adding a slash (/) and now when trying to access it from the genres section an error appears. I have other gender tags created with - or & or spaces without problems but I understand that perhaps using the slash generates a conflict with the url construction

To reproduce
Having a genre created, add a slash to it and then another text.

Screenshots
imagen

URL
imagen

imagen

Environment

  • Koel version 6.5.2
  • OS: Windows and Linux
  • Browser Mozilla Firefox 106.0.2
  • PHP version 8.0.24
  • Node version v18.10.0
Originally created by @gelokatil on GitHub (Oct 28, 2022). Original GitHub issue: https://github.com/koel/koel/issues/1565 **Describe the bug** Hi, I have detected an error in the creation of genre labels, I have renamed a genre adding a slash (/) and now when trying to access it from the genres section an error appears. I have other gender tags created with - or & or spaces without problems but I understand that perhaps using the slash generates a conflict with the url construction **To reproduce** Having a genre created, add a slash to it and then another text. **Screenshots** ![imagen](https://user-images.githubusercontent.com/38291848/198712468-04e36d3d-81e7-4189-864a-fd16f12fb446.png) URL ![imagen](https://user-images.githubusercontent.com/38291848/198712518-e4a89c5f-7fb4-435e-b620-f473cbc92650.png) ![imagen](https://user-images.githubusercontent.com/38291848/198712584-82f1ebe4-3584-4c08-bf38-23d4c5dc8fec.png) **Environment** - Koel version 6.5.2 - OS: Windows and Linux - Browser Mozilla Firefox 106.0.2 - PHP version 8.0.24 - Node version v18.10.0
kerem closed this issue 2026-02-26 02:34:30 +03:00
Author
Owner

@phanan commented on GitHub (Oct 28, 2022):

I'm fairly certain this is an Apache problem. You may want to check this out: http://www.leakon.com/archives/865

<!-- gh-comment-id:1295430936 --> @phanan commented on GitHub (Oct 28, 2022): I'm fairly certain this is an Apache problem. You may want to check this out: http://www.leakon.com/archives/865
Author
Owner

@gelokatil commented on GitHub (Oct 28, 2022):

Yes, perfect.

Adding the "AllowEncodedSlashes On" directive inside the virtualhost has solved it, effectively the web server I use is apache.

Thank you so much

<!-- gh-comment-id:1295476084 --> @gelokatil commented on GitHub (Oct 28, 2022): Yes, perfect. Adding the "AllowEncodedSlashes On" directive inside the virtualhost has solved it, effectively the web server I use is apache. Thank you so much
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/koel-koel#878
No description provided.