|
Mantis - Resin
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 5874 | minor | always | 03-01-15 18:08 | 03-03-15 15:55 | |
|
|
|||||
| Reporter: | alex | Platform: | |||
| Assigned To: | ferg | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | 4.0.42 | ||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | 4.0.44 | ||
|
|
|||||
| Summary: | 0005874: incomplete war extraction | ||||
| Description: |
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. |
||||
| Steps To Reproduce: | |||||
| Additional Information: | |||||
| Relationships | |||||
| Attached Files: | |||||
| Notes | |||||
|
|
|||||
|
|
||||