waschinski / photo-stream

Self-hosted, super simple photo stream
https://github.com/waschinski/photo-stream
MIT License
448 stars 68 forks source link

Trailing slash breaks URL in RSS feed #61

Closed nicosomb closed 1 year ago

nicosomb commented 1 year ago

Thank you for photo-stream!

In the .env file, I put https://mywebsite.com/ for the URL setting, but in the generated RSS feed, I have <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://mywebsite.com//photos/large/IMG_2809-686656.jpeg" /> with 2 slashes.

It should be removed but I don't see how I can fix it quickly.

boerniee commented 1 year ago

Hi, thank you for your issue. I will have a look at this. We should handle the site url programmatically so we dont have to rely on the trailing slash in the configuration.

waschinski commented 1 year ago

This will be a breaking change in the next release.