Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2236

Renaming files with "replace non-ascii" treats fullwidth slash U+FF0F as directory separator

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.6.3
    • Fix Version/s: 2.7.0b1
    • Component/s: File Move & Rename
    • Labels:
      None

      Description

      A full width slash U+FF0F, e.g. in イニシエノウタ/デボル, in combination with replace non-ascii gets turned into an ASCII slash, leading to a directory being created.

      This happens even though picard.util.textencoding.replace_non_ascii gets called with pathsave=True.

      See chatlogs at https://chatlogs.metabrainz.org/libera/musicbrainz/2021-06-19/?msg=4823412&page=1

        Attachments

          Activity

            People

            Assignee:
            outsidecontext Philipp Wolfer
            Reporter:
            outsidecontext Philipp Wolfer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package
                2.7.0b1