Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.6.0
-
None
-
debian amd64
Description
QUrl::fromLocalFile() shouldn't convert backslashes to slashes on linux (contrary to windows, backslashes are allowed in a file name)
qDebug() << QUrl::fromLocalFile("/tmp/te\\st/file.txt").toString(); // output is "file:///tmp/te/st/file.txt" // instead of "file:///tmp/te\st/file.txt" // or "file:///tmp/te%5Cst/file.txt"