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.

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

            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