Ticket #1195 (closed defect: fixed)
Storage extension to handle incorrect routes better
Reported by: | dread | Owned by: | rgrp |
---|---|---|---|
Priority: | minor | Milestone: | ckan-sprint-2011-10-28 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckanext-storage | |
Theme: | none |
Description
We've seen exceptions caused by people getting the file storage link wrong, adding a slash to the end.
e.g. http://ckan.net/storage/f/file/e696d857-e997-41c8-be08-408697168ca8/
We should aim to handle all requests better than causing exception. 404 (or even 302 in this case) is better than 500.
Change History
Note: See
TracTickets for help on using
tickets.
Also this one: http://ckan.net/storage/f/file/