From: Katie B. <ka...@ho...> - 2005-12-12 18:36:23
|
On Sun, Dec 11, 2005 at 04:15:55PM -0700, Kevin wrote: > 1) My beef with the way it is implemented basically boils down to this: > The way the image url is stored in the DB goes against standard > normalization practices. I've commited the change to the repository; the image URL is now stored in the feeds table rather than in the items table. > Here's the rss url that is the problem: http://www.fark.com/fark.rss What's happening there is fark's server checking the referrer field: $ wget http://img.fark.com/images/2002/links/fark.gif --13:30:51-- http://img.fark.com/images/2002/links/fark.gif => `fark.gif' Resolving img.fark.com... 207.58.150.106 Connecting to img.fark.com|207.58.150.106|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 788 [image/gif] 100%[====================================================================>] 788 --.--K/s 13:30:51 (39.55 MB/s) - `fark.gif' saved [788/788] $ wget --referer='http://somewhere.else.com/' http://img.fark.com/images/2002/links/fark.gif --13:27:37-- http://img.fark.com/images/2002/links/fark.gif => `fark.gif.1' Resolving img.fark.com... 207.58.150.106 Connecting to img.fark.com|207.58.150.106|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 13:27:37 ERROR 403: Forbidden. -- Katie Bechtold http://hoteldetective.org/ |