Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-77680

QFileInfo badly manipulates with \\ for Windows network file paths

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Invalid
    • Affects Version/s: 5.10.1
    • Fix Version/s: None
    • Component/s: Core: I/O
    • Labels:
      None

      Description

      For the Windows network path: \\prtc-rssrv\rs-sync

      Construct QFileInfo:

      QFileInfo info(path);
      auto result = path.absoluteFilePath();

      Result will look like this: //prtc-rssrv/rs-sync

      However that is not a valid Windows network path because "\\" was switched to "//".

      This is bug and should be fixed

       

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              thiago Thiago Macieira
              Reporter:
              filousov Pavel Celba
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes