After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 271105 - When trying to rename a folder containing a slash "/" and spaces, evil stuff happens
When trying to rename a folder containing a slash "/" and spaces, evil stuff ...
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.0.x (obsolete)
Other All
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[folders]
Depends on:
Blocks:
 
 
Reported: 2005-01-08 17:28 UTC by Emanuel Greisen
Modified: 2013-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dissalow renaming to include / (1.61 KB, patch)
2005-01-18 06:27 UTC, Not Zed
none Details | Review

Description Emanuel Greisen 2005-01-08 17:28:05 UTC
Description of Problem:
When using a slash("/")-character in a foldername during "rename" of folder
the evolution creates a subfulder with the name after the slash-character
instead of renaming correct. This is sad, since slash-character is often
used as "or-and-and". But the worst part is after this, you cannot rename
the top-folder (the name before the slash-and-spaces) because it now has a
leading space-character.


Steps to reproduce the problem:
1. Create folder name it "MyFolder"
2. Choose "Rename" on the folder, try to rename to: "MyFolder / YourFolder"
-> this crashes Evolution (sometimes) and when you restart you have a
folder named "MyFolder " with a subfolder names " YourFolder".
3. Trying to rename "MyFolder " will not succeed, sais folder does not exist...

Actual Results:
1. error: Folder not renamed correct (containing slash-character)
2. error: Folder not able to be renamed at all

Expected Results:
Correct folder renaming (and option of using special characters in
foldernames like slash, parenthisis, curly-braces, square-brackets, etc.)


How often does this happen? 
When you try to use slash and spaces in new folder anem

Additional Information:
Comment 1 Not Zed 2005-01-18 06:27:13 UTC
Created attachment 44580 [details] [review]
dissalow renaming to include /
Comment 2 Not Zed 2005-01-18 06:28:24 UTC
/ is an illegal character for a folder name, but legal for a folder
rename - it indicates a sub-path.

this patch dissalows using / from the rename window.
Comment 3 André Klapper 2005-01-26 21:13:49 UTC
michael, since it seems like you fixed "/" in 2.1.4  (according to 
changelog), could you also take a look at fixing bug 243201 which deals 
with vfolders and also "&"? thanks in advance...
Comment 4 Not Zed 2005-01-31 08:44:45 UTC
committed
Comment 5 Poornima 2005-05-20 06:56:42 UTC
verified on 2.0.4, it works. If / is given while renaming a folder throws error.
Comment 6 André Klapper 2005-06-30 11:31:51 UTC
also see bug 309185
Comment 7 Nagappan Alagappan 2005-07-28 13:11:21 UTC
*** Bug 309185 has been marked as a duplicate of this bug. ***