Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61420

QStorageInfo does not decode escapes correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.9.3
    • 5.9.0
    • Core: I/O
    • None
    • Linux
    • 8f1277da8c137270ff857128d8fea1423d8a7700

    Description

      QStorageInfo on Linux reads labels fromĀ /dev/disk/by-label, which is OK, but it doesn't do so properly. These are populated by a udev rule usingĀ ID_FS_LABEL_ENC, which encodes the strings using \xNN escapes.

      This means that QStorageInfo gets back things like "USB\x20TEST" rather than "USB TEST".

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            chehrlic Christian Ehrlicher
            w00t Robin Burchell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes