ckan / ckanext-deadoralive

A CKAN extension for the Dead or Alive link checker service
GNU Affero General Public License v3.0
6 stars 8 forks source link

Invalid URLs returned for FileStore-uploaded resources #19

Open seanh opened 10 years ago

seanh commented 10 years ago

For resources with files uploaded to CKAN's FileStore we're returning URLs like: "http:///en/storage/f/2012-11-12T140744/2011-12-31.txt "

seanh commented 10 years ago

This happens when CKAN's site URL is not set. Arguably a bug in CKAN not in ckanext-deadoralive.

jpmckinney commented 9 years ago

I think the link checker should respect relative URLs, assuming the URL in CKAN's API is /en/storage/f/2012-11-12T140744/2011-12-31.txt and not http:///en/storage/f/2012-11-12T140744/2011-12-31.txt

seanh commented 9 years ago

No, I think CKAN is actually returning http:///en/storage/f/2012-11-12T140744/2011-12-31.txt