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

[REG] QDir::absolutePath() and QFileInfo::absolute(File)Path() do not remove redundant "." and ".."

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 4.8.0
    • 4.8.x
    • Core: I/O
    • None

      the doc says

      "Returns the absolute path (a path that starts with "/" or with a drive specification), which may contain symbolic links, but never contains redundant ".", ".." or multiple separators."

      but redundant "." is not removed from the path

      Run attached test case.

        1. qdir.zip
          0.9 kB
          Aurindam Jana
        2. testcase_qdir_and_qfileinfo.tgz
          0.8 kB
          Eike Ziller
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            shkearns Shane Kearns
            ajana Aurindam Jana
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes