Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.6.1
-
None
-
Mac OS 10.6.2
Description
QUrl should conform (as assistant says) to:
http://www.rfc-editor.org/rfc/rfc1738.txt
and in this case
; FILE
fileurl = "file://" [ host | "localhost" ] "/" fpath
and that means also that QUrl("file://localhost/file.txt").toLocalFile() should (or could) return "/file.txt" but instead i get "//localhost/file.txt" which QFile::exists("//localhost/file.txt") == false
workaround is to remove "//localhost