Ticket #318 (new defect) — at Initial Version
Insufficient validation of resource URIs
Reported by: | wwaites | Owned by: | rgrp |
---|---|---|---|
Priority: | major | Milestone: | ckan-sprint-2011-10-28 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ckan | |
Theme: | none |
Description
The CKAN instance on data.gov.uk serves invalid URIs out of its API.
For example the following can be found,
In this URI, the : and / characters after the ? in the query part are invalid according to section 3.4 of RFC2396
Also URIs are not stripped of whitespace at the end.
This causes problems when other software with a more correct interpretation of what a valid URI is attempts to consume data from CKAN. In this instance the Talis triplestore complains about such URIs.
"Be liberal in what you accept and conservative in what you send" would seem apt.
Note: See
TracTickets for help on using
tickets.