Changes between Initial Version and Version 1 of Ticket #1103, comment 3
- Timestamp:
- 2010-06-29T00:31:54Z (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1103, comment 3
initial v1 2 2 > To fix this ticket, make it emit a nice helpful error message in this case. This might be hard because how can it tell that the last argument is a dircap with added garbage after instead of being a filename? Or a tahoe alias named "URI" followed by a path? 3 3 4 It can tell that this is n ot a valid dircap, so the error message "cannot copy directory into a file" is definitely wrong. Creating an alias called "URI" should be rejected, since it can't be parsed unambiguously.4 It can tell that this is neither a valid dircap+path nor a valid direct filecap, so the error message "cannot copy directory into a file" is definitely wrong. Creating an alias called "URI" should be rejected, since it can't be parsed unambiguously.