Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6
-
Windows
-
f7b44f879cdded7b2c6b604df873f7194e56a63a , 101449a4cfa9c0d216332c6dc8ba826e8109e09d (qtbase/5.8, 12.12.2016, 5.8.1)
Description
QDir::cdUp() does not return false when going up from root of UNC network path. On local hard drive it does return false. In Qt 4.8 it also returns false when cdUp():ing on network path root.
Steps to reproduce:
- Run attached sample with valid network path as argument
- EXPECTED: The while-loop exits when cdUp():ing first time from the network path root
- ACTUAL: cdUp() never returns false, causing infinite loop
Attachments
Issue Links
- resulted from
-
QTBUG-23893 QDir("/").cd("..") is different from QDir("/tmp").cd("../..")
-
- Closed
-
- resulted in
-
QTBUG-72120 QDir::cleanPath behaviour differs in Qt5 vs Qt4 with regard to UNC paths.
-
- Closed
-