Skip to content

Playable._prettyfilename() should sanitise filename #293

Description

@worried-networking

It's expected that the method _prettyfilename() would return a valid filename, because of filename in its name and docstring :) But if you have an Artist named Lovely/Bones, with an Album named very*very and a track named dev/\0 — you would be unpleasantly surprised when you try to save it under suggested name.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions