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

QDir: When using entryList() with a name filter such as "*[*" then it will fail to find any files with [ in it

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Invalid
    • Affects Version/s: 4.7.3
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      None

      Description

      QDir: When using entryList() with a name filter such as "[" then it will fail to find any files with [ in it. The reason for this is that although [ is a valid character name on *nix in a file it is using the Wildcard pattern syntax in QRegExp. It should be possible to escape these characters in the name filter so that they can be used. To enable this, the pattern syntax for QRegExp should be changed to WildcardUnix.

        Attachments

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

          Activity

            People

            Assignee:
            w00t Robin Burchell
            Reporter:
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes