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

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 4.8.x
    • Fix Version/s: 4.8.0
    • Component/s: Core: I/O
    • Labels:
      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

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

            Activity

              People

              Assignee:
              shkearns Shane Kearns
              Reporter:
              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