Did something change in the api recently because the ajax calls from IE9 are not working. I'm getting this error message.
SEC7112: Script from http://api.themoviedb.org/3/search/movie?api_key=###&query=the&callback=jQuery18106168899305979745_1365625811059&_=1365625824236 was blocked due to mime type mismatch j-dar.ca
This is my code. It works on Chrome, safari, ff.
var queryStr = "http://api.themoviedb.org/3/search/movie?api_key=###&query=the&callback=?";
$.getJSON(queryStr, function(a){
console.log(a);
});
Can't find a movie or TV show? Login to create it.
ต้องการให้คะแนนหรือเพิ่มรายการนี้ไปยังรายการหรือไม่
ไม่ใช่สมาชิกเหรอ
Reply by Travis Bell
on April 10, 2013 at 4:47 หลังเที่ยง
Hi lonelydatum,
After Googling this IE error, I found this article. It looks like it's because the API is now sending back a
X-Content-Type-Options: nosniff
header. This must have been added in a recent framework update.I'll be pushing a fix for this later tonight/tomorrow morning. We're in the midst of some server upgrades so I can't push this live yet.
Reply by Travis Bell
on April 10, 2013 at 8:39 หลังเที่ยง
Fix for this was pushed about 10 minutes ago. You should be good to go using IE again.
Cheers.
Reply by lonelydatum
on April 10, 2013 at 8:41 หลังเที่ยง
Thank you so much Trevor! The site is expected to go live tomorrow so you timing is just perfect :)
Gar