ushahidi/Ushahidi_Web — Issue #276: Malformed Image URLS in API
Author: brianherbert
Created: 2012-02-26 01:37:53+00:00
State: open
Labels: Bug, P2 - Normal

Example from the API:

https://alamedacert.crowdmap.com/api?task=incidents&resp=json

{

id: "11",

type: "1",

link: "alamedacert/https://c767056.ssl.cf2.rackcdn.com/alamedacert/1320882055_NkBKtt7FIl.jpg",

thumb: "alamedacert/https://c767056.ssl.cf2.rackcdn.com/alamedacert/1320882055_NkBKtt7FIl_t.jpg"
},

{

thumb_url: "https://alamedacert.crowdmap.com/media/uploads/alamedacert/alamedacert/https://c767056.ssl.cf2.rackcdn.com/alamedacert/1320882055_NkBKtt7FIl_t.jpg",

link_url: "https://alamedacert.crowdmap.com/media/uploads/alamedacert/alamedacert/https://c767056.ssl.cf2.rackcdn.com/alamedacert/1320882055_NkBKtt7FIl.jpg"
}

Bad news bears! Happens when using a CDN, mostly.