| Summary: | Path problems in copy/move implementation | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Client | Assignee: | John Arthorne <john.arthorne> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | susan |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 334718 | ||
|
Description
John Arthorne
There are also a couple of path manipulation bugs in the client code: 1) The stripPath function in fileCommands.js strips trailing separators in the case of location with a query: /file/A/?depth=1 -> /file/A Trailing separators are important in HTTP URLs because they differentiate files from directories. It should be: /file/A/?depth=1 -> /file/A/ 2) fileImpls.js wasn't properly computing the destination name when the source path has a trailing separator. Fixes for all problems pushed. |