Mantis Bug Tracker

View Issue Details Jump to Notes ] >> ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000075Ninan V2Corepublic2008-10-29 14:232009-09-27 05:52
Reporterjmi 
Assigned Tomax 
PrioritynormalSeveritymajorReproducibilityalways
StatusfeedbackResolutionreopened 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000075: UNRAR doesn't work with files/folders which contain spaces - proposed fix included
DescriptionTested only under linux.

Problem is call of addQuotesIfNeeded in RarExtracter.java.
If this is skipped, then everything is fine. Point is that params are used in call
process = Runtime.getRuntime().exec(params, envVars, workDir);
but RUntime.exec will add quotes where required ... because you added them, they were there probably twice !

Solution is to remove call of addQuotesIfNeeded in both cases.
TagsNo tags attached.
Attached Filespatch file icon ninan-75.patch [^] (2,083 bytes) 2009-01-31 19:19 [Show Content]

- Relationships

-  Notes
(0000022)
abryzak (reporter)
2009-01-31 19:23

I've added a patch which moves the OSUtils.isWindows() check into addQuotesIfNeeded method which both the par checking and unraring use.
(0000037)
max (manager)
2009-08-25 09:11

Should be fixed in rev3352, which you can get here http://rotvel.dk/ninan-2.0.0_rev3352.zip [^] [^]

Please note that the build (like 2.0.0 final) requires a clean install.

- Issue History
Date Modified Username Field Change
2008-10-29 14:23 jmi New Issue
2009-01-31 19:19 abryzak File Added: ninan-75.patch
2009-01-31 19:23 abryzak Note Added: 0000022
2009-08-25 08:56 max Status new => assigned
2009-08-25 08:56 max Assigned To => max
2009-08-25 09:11 max Note Added: 0000037
2009-08-25 09:11 max Status assigned => resolved
2009-08-25 09:11 max Resolution open => fixed
2009-09-27 05:52 max Status resolved => feedback
2009-09-27 05:52 max Resolution fixed => reopened


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker