Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.8.0 Beta2
-
None
-
-
c9ff62586 (dev), fee6283b8 (6.8), 828ef6b4c (6.7), 0bf48e28f (tqtc/lts-6.5), e4b298316 (6.8.0)
Description
run the following code segment:
#include <QUrl> #include <QDebug> int main(int argc, char *argv[]) { QUrl url("/root/test/../foo/bar"); qDebug() << url.adjusted(QUrl::RemoveFilename | QUrl::NormalizePathSegments).toString(); }
observed result: "/root/test/../foo/"
expected output: "/root/foo/"