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
int max = RECENT_MAX_LENGTH;
	        if (maxLength != null) {
				max = maxLength.intValue();
			}
	        IMemento indices[] = recent.getChildren(XML.WORKSPACE);
	        if (indices == null || indices.length <= 0) {
				return false;
			}
	        
	        
	        
	        max = Math.max(max, indices.length);
	        recentWorkspaces = new String[max];
	        for (int i = 0; i < indices.length; ++i) {
	            String path = indices[i].getString(XML.PATH);
	            if (path == null) {
					break;
				}
	            recentWorkspaces[i] = path;
	        }
	    } catch (IOException e) {
	        
	        return false;
	    } catch (WorkbenchException e) {
	        
	        return false;
	    } finally {
	        
	        if (recentWorkspaces == null) {
				recentWorkspaces = new String[RECENT_MAX_LENGTH];