[Bug]: the urls of the items in the rss feed do not work due to special characters in the title #1352

Closed
opened 2026-04-24 23:40:55 +02:00 by adam · 4 comments
Owner

Originally created by @garyee on GitHub (Sep 7, 2023).

Describe the issue

I setup my library and one of the episodes could not be played. I looked a the raw rss file and saw that the links are broken by the special characters like @ and &. I think they should be url encoded in order for it to work.

Steps to reproduce the issue

  1. upload a file with a name containing whitespaces and special characters like @ and &
  2. open the rss feed
  3. the link in the item section will be broken due to the special characters like @ and & beeing in the link

Audiobookshelf version

Latest version

How are you running audiobookshelf?

Docker

Originally created by @garyee on GitHub (Sep 7, 2023). ### Describe the issue I setup my library and one of the episodes could not be played. I looked a the raw rss file and saw that the links are broken by the special characters like @ and &. I think they should be url encoded in order for it to work. ### Steps to reproduce the issue 1. upload a file with a name containing whitespaces and special characters like @ and & 2. open the rss feed 3. the link in the item section will be broken due to the special characters like @ and & beeing in the link ### Audiobookshelf version Latest version ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:40:55 +02:00
adam closed this issue 2026-04-24 23:40:56 +02:00
Author
Owner

@garyee commented on GitHub (Sep 7, 2023):

Could the not encoded url be part of the reason for #2008 ? If so, this could be closed as a duplicate.

@garyee commented on GitHub (Sep 7, 2023): Could the not encoded url be part of the reason for #2008 ? If so, this could be closed as a duplicate.
Author
Owner

@advplyr commented on GitHub (Sep 10, 2023):

Can you test again in v2.4.1?

@advplyr commented on GitHub (Sep 10, 2023): Can you test again in v2.4.1?
Author
Owner

@garyee commented on GitHub (Sep 10, 2023):

It is still broken sorry. I think the problem is that the characters which are not allowed in a URL like &,@ and ( ) are not URL encoded, but I could be wrong.
image

To reproduce just upload a file with some whitespaces and & or @ characters in the title, or rename and episode to contain a few of those. If have taken them out and the episode could be played.

@garyee commented on GitHub (Sep 10, 2023): It is still broken sorry. I think the problem is that the characters which are not allowed in a URL like `&`,`@` and `( )` are not [URL encoded](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURI), but I could be wrong. ![image](https://github.com/advplyr/audiobookshelf/assets/5537949/b2dab2e5-940f-41fb-9b6f-706837ea66bb) To reproduce just upload a file with some whitespaces and & or @ characters in the title, or rename and episode to contain a few of those. If have taken them out and the episode could be played.
Author
Owner

@advplyr commented on GitHub (Sep 13, 2023):

I'm not able to reproduce this. I just created an RSS feed with an episode that has all of those characters in the filename with no issues.

@advplyr commented on GitHub (Sep 13, 2023): I'm not able to reproduce this. I just created an RSS feed with an episode that has all of those characters in the filename with no issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1352