Details
Description
Some examples:
<__ed> qDebug() << QDir::cleanPath("/");
<qDebug> "/"
<__ed> qDebug() << QDir::cleanPath("/.");
<qDebug> ""
<__ed> qDebug() << QDir::cleanPath("/./");
<qDebug> "/"
I think that QDir::cleanPath("/.") should return "/", not the empty string
Attachments
Issue Links
- relates to
-
QTBUG-23892 QDir::cleanPath of "dir/.." is wrong.
- Closed