Client pulls down incorrect imgur previews for imgur.com/gallery/

Bug #1245404 reported by John Drinkwater
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Polly
Fix Committed
Undecided
Unassigned

Bug Description

I follow someone that loves to post photos, every so often (this is probably the third time its happened) it pulls up a thumbnail that’s incorrect, something completely different from the linked resource.

Here’s what Polly looks like with the wrong image http://i.imgur.com/zuwhtFI.png
The tweet links to http://imgur.com/gallery/Qyk4c
~/.cache/polly/previews/imgur/Qyk4c contains the incorrect image.

What appears to be the case, the client is looking at http://i.imgur.com/Qyk4c.jpg on the assumption it is related to the link, it is not. This must be broken for all /gallery/ links.

description: updated
Revision history for this message
John Drinkwater (johndrinkwater) wrote :

Hmm, after looking into it more, it appears to be an issue with imgur. http://api.imgur.com/oembed?url=http://imgur.com/gallery/Qyk4c returns a faulty link.
The other APIs they offer that could be used to get around this are behind oauth, like https://api.imgur.com/3/gallery/image/Qyk4c

Revision history for this message
John Drinkwater (johndrinkwater) wrote :

Problem reported to imgur, didn’t give me any indication that it’ll be fixed soon… is it possible to disable oembed for those links for the time being to prevent the wrong (possibly unsuitable) image from appearing?

Revision history for this message
Conscious User (conscioususer) wrote :

Will see what I can do.

Changed in polly:
status: New → Confirmed
Revision history for this message
Conscious User (conscioususer) wrote :

Temporarily disabled imgur support in trunk.

Changed in polly:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.