TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Photobucket Replaced My CEO's Email Signature With a Sleeping Cat

20 点作者 danieljurek超过 11 年前
Best practices aside (like NEVER host email images from a 3rd party), this would be hilarious if we weren&#x27;t trending on AngelList. :P<p>My CEO, Brian, uses a picture of himself in his email. The image is hosted here: http:&#x2F;&#x2F;i49.tinypic.com&#x2F;2uol63m.png (tinypic is a Photobucket company)<p>Looks lively, attentive, and friendly... right?<p>Gmail image cache of the image returns a cat: https:&#x2F;&#x2F;ci6.googleusercontent.com&#x2F;proxy&#x2F;se_iEEzdxzy1wRbMk8xXJhM7C7jqp2RyINhqPoq8Ybbn4P6yi0FqdB9RXMq-iat9ut2pNofWz7o=s0-d-e1-ft#http:&#x2F;&#x2F;i49.tinypic.com&#x2F;2uol63m.png<p>Not the same person...<p>Now Brian&#x27;s emails (including emails to investors and all previous emails he&#x27;s sent) contain a cat sleeping on a couch instead of a goofy smiling face.<p>Dig into the guts of the problem: When you visit the image (http:&#x2F;&#x2F;i49.tinypic.com&#x2F;2uol63m.png) with a browser, you get Brian&#x27;s smiling face. Download the same image with wget and you get a sleeping cat! Looks like Photobucket&#x2F;tinypic is changing what they return based on headers and Gmail image cache doesn&#x27;t send the same headers as my browser.<p>IT GETS WORSE!!!!<p>Another image in Brian&#x27;s email signature (which used to look like his name signed in cursive), has ALSO been replaced with a selfie containing quite a bit of cleavage!<p>Lesson learned: those &quot;unique&quot; image file name hashes are actually recyclable!

6 条评论

patio11超过 11 年前
This sounds like an attempt by Photobucket to avoid people abusing their system in an automated fashion to build scraping sites -- if you get a psuedorandom photo from their collection every time you use an agent other than a common browser, that thwarts people&#x27;s intentions but doesn&#x27;t raise any obvious flags until they put a human in the loop. (You can, of course, circumvent this by having your wget say &quot;No, I&#x27;m Chrome! Honest!&quot; or using a headless chrome instance, but simple tripwires like this cut down script kiddies by 90%+ in some circumstances.)<p>This happens to interact quirkily with your boss&#x27; decision to use PhotoBucket as a CDN for his email and Google&#x27;s recent implementation of the Gmail image caching feature.
评论 #7035100 未加载
Brian_Curliss超过 11 年前
If anyone has any idea how we can fix this, I&#x27;d love to not have to explain to all the investors&#x2F;customers why I am messaging them pictures of cleavage..
评论 #7035097 未加载
评论 #7034975 未加载
k3oni超过 11 年前
I can&#x27;t find the link to his signed name, i think you forgot to add it :).<p>Anyway, maybe use this link <a href="http://oi49.tinypic.com/2uol63m.jpg" rel="nofollow">http:&#x2F;&#x2F;oi49.tinypic.com&#x2F;2uol63m.jpg</a> . Just tried it using wget and i get his pic.<p>Edit: Just tried wget on the original link and i get his pic fine, not the cat. This is using wget form a Centos 6+ server.
评论 #7035067 未加载
danieljurek超过 11 年前
Update: The images APPEAR to have flipped back to normal somehow... I&#x27;m having Brian put his images on a server we control from now on (just in case it happens again). So hopefully we don&#x27;t risk offending our partners&#x2F;customers&#x2F;investors again. This has been an amusing 16 hours.
tvtime15超过 11 年前
That cat ISN&#x27;T Brian!?
评论 #7040299 未加载
mikedmerrill超过 11 年前
What the? Why is that?