Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
None
-
5.0.1
-
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
- relates to
-
QTBUG-24143 QFileSystemModel allows to rename a file that has leading or trailing whitespaces
- Closed