| Summary: | Relative href paths generated on Windows have incorrect path separator | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | John Arthorne <john.arthorne> | ||||||
| Component: | Mylyn | Assignee: | John Arthorne <john.arthorne> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | David Green <greensopinion> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | steffen.pingel | ||||||
| Version: | unspecified | Keywords: | contributed | ||||||
| Target Milestone: | 1.6.0 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 372811 | ||||||||
| Attachments: |
|
||||||||
|
Description
John Arthorne
Created attachment 198660 [details]
Simple fix
Here is a simple fix. A better fix would be to use java.net.URI to represent relative paths. Right now you are likely not properly encoding characters that must be encoded in well-formed URIs.
Sorry for the big diff on imports - this was caused by automatic Organize Imports. I suggest using project-specific settings for code style so that all contributors produce the same output (select the project, > Properties > Java Code Style > Organize Imports > Enable project specific settings).
Patch applied. Fix pushed to master. Thanks for the patch! Steffen do we have recommendations for organize imports settings on Mylyn projects? Created attachment 198861 [details]
mylyn/context/zip
If the patch was applied to CVS the contribution should be marked as iplog+ and the bug should have the contributed keyword (the latter is for reporting only). I have opened bug 350937 to enable project specific settings for Organize Imports. done. |