Mantis - Resin
Viewing Issue Advanced Details
5874 minor always 03-29-15 18:08 03-31-15 15:55
alex  
ferg  
normal  
closed 4.0.42  
fixed  
none    
none 4.0.44  
0005874: incomplete war extraction
rep by alpor9 at google groups

problem was in the non-ASCII file names in the war file.
Git-related code assumed single-byte ASCII encoding of file names in war.
As a result the non-ASCII file names has been corrupted causing errors when writing files to disk.

GitSystem#expandToPath() - added catch clause to log exceptions.
GitWorkingTree#writeTree() and GitObjectStream#parseTree() - multibyte encoding support added when writing and reading file names: string -> byte array and byte array -> string instead of working with single bytes, assuming that bytes are chars.

Notes
(0006615)
ferg   
03-31-15 15:55   
server/1h7w