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.
- relates to
-
QTBUG-20495 [REG] QDir::operator== compares paths without normalizing (4.8)
-
- Closed
-
- resulted in
-
QTBUG-100682 Possible discrepancies when handling a trailing path separator in QFileInfo canonicalPath and absolutePath.
-
- In Progress
-
For Gerrit Dashboard: QTBUG-19995 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
4099,2 | Fix comparison of absolute, unclean paths in QDir | master | qt/qtbase | Status: MERGED | +2 | 0 |
4154,1 | Restore Qt4.7 behaviour of QFileInfo::absolute(File)Path | master | qt/qtbase | Status: MERGED | +2 | 0 |