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

Applications using Qt cannot handle real files on disk with certain filenames

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • 5.8.0
    • None
    • All

    Description

      Many applications in KDE using Qt cannot interact with files that contain some specific characters. The major projects (KDE) and developers are saying this is an upstream Qt problem and are saying it should be fixed here.

      A filename can contain any 8-bit character except null and /, so it doesn't matter if there is some odd or unusual encoding in the way the filename can be interpreted. It shouldn't cause higher level applications to crash/break when a file/string has unusual characters, leading to stability and security problems.

      https://bugs.kde.org/show_bug.cgi?id=377172
      https://bugs.kde.org/show_bug.cgi?id=165044
      https://marc.info/?l=kde-core-devel&m=122025063320264&w=2

      The attached unicodegenerator.sh will create some example files that trigger this bug in KDE, Dolphin, and Konqueror.

      Attachments

        1. legacycodec.tar.gz
          3 kB
        2. main.cpp
          0.7 kB
        3. screenshots.7z
          135 kB
        4. unicodegenerator.sh
          0.1 kB

        Issue Links

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

          Activity

            People

              laknoll Lars Knoll
              nathanshearer Nathan Shearer
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes