Don't expand image URLs that don't really point to images. #143

Merged
merged 1 commit into from Jul 2, 2013

Projects

None yet

2 participants

@moshee
moshee commented Mar 1, 2013

Sometimes a URL will end with an image extension but points to something else instead, such as Wikimedia image summary pages. Limechat will try to thumbnail these resulting in a broken image inserted into the log. I added a Content-Type check to mitigate this.

Screen Shot 2013-03-01 at 10 47 07 AM

@psychs psychs merged commit 4b6681d into psychs:master Jul 2, 2013
@psychs
Owner
psychs commented Jul 2, 2013

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment