Bug 95888 [Import/Export] Ignore spaces in mode and size fields of tar files
The space character is special in tar files: it is often used instead of a null character for certain fields. Unfortunately, if a space is in the mode or size fields of a tar file, TarInputStream throws an exception. The attached patch fixes this.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/wizards/datatransfer/TarInputStream.java
if(filepos > 0) {
				return null;
			}
			
			
			throw new TarException("not in tar format"); 
		}
		
		
		if(!isValidTarHeader(header)) {
			throw new TarException("not in tar format"); 
		}
		while (pos < 100 && header[pos] != 0)
			pos++;
		String name = new String(header, 0, pos, "UTF8"); 
		
		pos = 345;
		if(header[pos] != 0) {
			while (pos < 500 && header[pos] != 0)
				pos++;
			String prefix = new String(header, 345, pos - 345, "UTF8"); 
			name = prefix + "/" + name; 
		}
		
		TarEntry entry;
		if(longLinkName != null) {
			entry = new TarEntry(longLinkName, filepos);
			longLinkName = null;
		} else {
			entry = new TarEntry(name, filepos);