Summary: | Rename possible to "Folder./." which renders it unrenameable | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Damian Ivanov <damianatorrpm> |
Component: | general | Assignee: | Peter Penz <peter.penz19> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | damianatorrpm, piece |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Damian Ivanov
2009-10-25 08:53:28 UTC
Bug NOT exists in Debian Sid with KDE 4.3.2 (dolphin 1.3 ) Shows in Sid properly as .⁄. >Bug NOT exists in Debian Sid with KDE 4.3.2 (dolphin 1.3 ) >Shows in Sid properly as .⁄. I think I was wrong as I said that the bug does not exist in Sid. http://www.2shared.com/file/10098406/bb9ec59c/out.html The problem recorded with recordmydesktop, so you may can easier reproduce it. forgot to say that it not only affects dolphin, konqueror also I tried to reproduce it in 4.4.1. If I rename a folder with dolphin to "./." it moves contents of this folder into the root folder of "./.". It is still possible to create a folder "./.". I propose to use bash as expected behavior: georg@QUAD:~/tmp/test$ ls blub georg@QUAD:~/tmp/test$ mv blub/ ./. mv: „blub/“ und „././blub“ sind die gleiche Datei #files are the same georg@QUAD:~/tmp/test$ mkdir ./. mkdir: kann Verzeichnis „./.“ nicht anlegen: File exists georg@QUAD:~/tmp/test$ Git commit 79ccd0202d106a9c16b79a20cd79831a60dc5393 by Matthias Fuchs. Committed on 28/05/2011 at 00:15. Pushed by mfuchs into branch 'master'. Disallow renaming to names containing '/', names being equal to "." or "..". BUG:211751 REVIEW:101454 M +1 -1 dolphin/src/views/renamedialog.cpp http://commits.kde.org/kde-baseapps/79ccd0202d106a9c16b79a20cd79831a60dc5393 Git commit 8dbc4b0752dc12121c37000c764a7e025daae4b7 by Matthias Fuchs. Committed on 28/05/2011 at 00:15. Pushed by mfuchs into branch 'KDE/4.6'. Backport: Disallow renaming to names containing '/', names being equal to "." or "..". CCBUG:211751 REVIEW:101454 (cherry picked from commit 79ccd0202d106a9c16b79a20cd79831a60dc5393) M +1 -1 dolphin/src/views/renamedialog.cpp http://commits.kde.org/kde-baseapps/8dbc4b0752dc12121c37000c764a7e025daae4b7 Git commit d034afc892e21a0b8fd9147f1914d6b356413e10 by Matthias Fuchs. Committed on 31/05/2011 at 23:42. Pushed by mfuchs into branch 'master'. Improves 79ccd0202d106a9c16b79a20cd79831a60dc5393 by allowing "/" in file names. Though here "/" is not the ascii char '/' but the "unicode fraction slash" one, thus it is not taken as directory command. CCBUG:211751 REVIEW:101454 M +3 -3 dolphin/src/views/renamedialog.cpp http://commits.kde.org/kde-baseapps/d034afc892e21a0b8fd9147f1914d6b356413e10 Git commit 680b8f918900b2b8b99fe5046806ca1b032867e3 by Matthias Fuchs. Committed on 31/05/2011 at 23:50. Pushed by mfuchs into branch 'KDE/4.6'. Improves 8dbc4b0752dc12121c37000c764a7e025daae4b7 by allowing "/" in file names. Though here "/" is not the ascii char '/' but the "unicode fraction slash" one, thus it is not taken as directory command. CCBUG:211751 REVIEW:101454 M +2 -2 dolphin/src/views/renamedialog.cpp http://commits.kde.org/kde-baseapps/680b8f918900b2b8b99fe5046806ca1b032867e3 Git commit def6e86db16246e12660d6ba66f607a9ea6d9a58 by Matthias Fuchs. Committed on 28/05/2011 at 01:17. Pushed by mfuchs into branch 'master'. Disallows names of files containing '/' or being equal to "." or "..". CCBUG:211751 REVIEW:101456 M +2 -2 kio/kio/kdirmodel.cpp M +4 -2 kio/kio/kfileitemdelegate.cpp http://commits.kde.org/kdelibs/def6e86db16246e12660d6ba66f607a9ea6d9a58 Git commit 465ec0c76958657cdb75616f87d4e160f8615bcb by Matthias Fuchs. Committed on 28/05/2011 at 01:17. Pushed by mfuchs into branch 'KDE/4.6'. Disallows names of files containing '/' or being equal to "." or "..". CCBUG:211751 REVIEW:101456 (cherry picked from commit def6e86db16246e12660d6ba66f607a9ea6d9a58) M +2 -2 kio/kio/kdirmodel.cpp M +4 -2 kio/kio/kfileitemdelegate.cpp http://commits.kde.org/kdelibs/465ec0c76958657cdb75616f87d4e160f8615bcb |