| Summary: | OpenSchemaAction does not handle locations with spaces in it | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Curtis Windatt <curtis.windatt.public> | ||||||
| Component: | UI | Assignee: | Ankur Sharma <ankur_sharma> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | markus.kell.r | ||||||
| Version: | 3.6 | ||||||||
| Target Milestone: | 3.7 M7 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Curtis Windatt
Fix should be well contained, consider for 3.6 See also bug 292938. Created attachment 191755 [details]
Patch
Created attachment 192707 [details]
Final patch
Curtis, can you plz verify the patch once on linux? I have tested already for Mac and WinXp. I just want to be sure before checking this in. Added a null check after decoding. Otherwise if there is a problem decoding the action would throw NPEs instead of putting up the error dialog. Fixed in HEAD. (In reply to comment #4) > Created attachment 192707 [details] [diff] > Final patch URLDecoder is always wrong if you want to extract the path of an URL. It e.g. doesn't handle a "+" in the path properly. The right solution is url.toURI().getPath(). Filed bug 392950. |