Bug 98467 [WorkbenchLauncher] [Preferences] Workspace path with comma
If a workspace is opened which has a comma in the path (eg "C:\docs\clients\surname, firstname"), when eclipse is closed then re-opened, the workspace does not open correctly. It instead creates a new folder of "C:\docs\clients\surname" and creates a new workspace there. Noticed that recent workspaces are kept in eclipse\configuration\.settings\org.eclipse.ui.ide.prefs and that the list is comma separated. Reccommend either making the delimiter a character not usable in filenames/paths (eg. pipe character '|') or enclosing paths in quote marks.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/ChooseWorkspaceData.java
persUrl = getPersistenceUrl(configLoc.getURL(), false);
		}
	    try {
	        
	        
	        if (persUrl == null) {
				return false;
			}
	        
	        
	        
	        
	        
	        
	        
	        
	        
	        Reader reader = new FileReader(persUrl.getFile());
	        XMLMemento memento = XMLMemento.createReadRoot(reader);
	        if (memento == null || !compatibleFileProtocol(memento)) {
				return false;
			}
	        IMemento alwaysAskTag = memento.getChild(XML.ALWAYS_ASK);
	        showDialog = alwaysAskTag == null ? true : alwaysAskTag.getInteger(
	                XML.SHOW_DIALOG).intValue() == 1;
	        IMemento recent = memento.getChild(XML.RECENT_WORKSPACES);
	        if (recent == null) {
				return false;
			}
	        Integer maxLength = recent.getInteger(XML.MAX_LENGTH);