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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-19995
          # Subject Branch Project Status CR V

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes