• Blopware's avatar
    Sanitize remote tracks' saving locations with slashes on their names · 0c8f4400
    Blopware authored and Georg Krause's avatar Georg Krause committed
    For that case, the resulting saved file made use of these slashes to
    store the tracks in subdirectories of federation_cache/xx/xx/xx, instead of
    in the federation_cache/xx/xx/xx directory itself. As a consequence, the
    tracks are downloaded in the wrong location, and upon any trial of
    playing the tracks, funkwhale responds with the message
    "The track cannot be loaded. You can have connectivity issues"
    An example of a podcast with this kind of RSS items is located in
    This commit overcomes this by a simple replacement of the offending
    slashes to hyphens.