GNOME Bugzilla – Bug 271105
When trying to rename a folder containing a slash "/" and spaces, evil stuff happens
Last modified: 2013-09-10 14:03:26 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:
Created attachment 44580 [details] [review] dissalow renaming to include /
/ 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.
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...
committed
verified on 2.0.4, it works. If / is given while renaming a folder throws error.
also see bug 309185
*** Bug 309185 has been marked as a duplicate of this bug. ***