| Summary: | URLClassLoader getFilePath() use of URLDecoder.decode(path, "utf-8") is wrong | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Michael Vorburger <mike> |
| Component: | BIRT | Assignee: | Jun Ouyang <jouyang> |
| Status: | VERIFIED FIXED | QA Contact: | Xiaoying Gu <bluesoldier> |
| Severity: | normal | ||
| Priority: | P3 | CC: | bluesoldier, jouyang |
| Version: | 2.5.0 | ||
| Target Milestone: | 3.7.0 M7 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Michael Vorburger
Don't invoke URLDecoder.decode( path, "utf-8" ) to get file path, it's unnecessary. Use custom decoding method instead of URLDecoder.decode() to decode file path in url. The method will ignore character '+' and acts exactly same as URLClassLoader of java does. Please notice that paths containing character '%' can't be supported either. Verified in daily build 3.7.0.v20110412-0630 |