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

QDir rename with trailing spaces

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.0.1
    • Core: I/O
    • None
    • Windows

    Description

      It is currently possible to rename a folder under Windows with QDir::rename() so that the folder name has trailing space. This should not be the case because that’s an invalid name according to Microsoft (http://support.microsoft.com/kb/320081, Cause 6).

      The new name passed to rename() method should be trimmed.

      Attachments

        Issue Links

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

          Activity

            People

              biochimia João Abecasis
              qtcomsupport Qt Support
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes