Possible bug in detecting Story Url is valid or not

Hey,

I could not submit below url on http://drigg.org . It says story url is not functioning

http://specials.rediff.com/movies/2008/jan/14sld1.htm

Above url is actually working. It also does not let me add above url to my site

Thanks

It's not with Drigg...

Hi,

It's not a Drigg bug. It seems to be a problem with Dediff's servers.
Look here:

merc@merc-laptop:~$ telnet specials.rediff.com 80
Trying 220.226.195.24...
Connected to specials.rediff.com.
Escape character is '^]'.
HEAD /movies/2008/jan/14sld1.htm HTTP/1.0
Host: specials.rediff.com
User-Agent: Drupal (+http://drupal.org/)
Content-Length: 0

This is a very legitimate request, made up by Drupal directly.
The server's response:

HTTP/1.0 501 I do not accept messages
Server: publicfile
Date: Tue, 15 Jan 2008 07:35:27 GMT
Content-Length: 52
Content-Type: text/html

...?!? It does't really make sense, as a response.

Please contact the rediff administrators (maybe giving them a link to this forum) to report this.

Merc.

I can add the same url on

I can add the same url on digg or other digg like sites. Digg is validating url . Reddit does not seem to be validating url. something is going on. I didn't look at drigg code though. It may be user agent or something I am not sure. Thanks

Maybe it's because Digg just

Maybe it's because Digg just look if the answer is 404 or domain not found and in this case doesn't validate url but in any other cases validates? Maybe Drigg does differently and only accept a few types of answers.

http://blog-money-wiki.com/blog/

Not quite...

Hi,

Not quite. Drigg expects a 2XX answer. However, it only gets a 5XX answer, for no apparent reason.
The web server seems to be broken.

sorry to bother you. It gave

sorry to bother you.

It gave 200 response. you might have got 5XX response once only. can you try it again using regular telnet and drigg.org

Below is the response. I tried couple of times. this was the response always. it doesn't work on drigg.org

# telnet specials.rediff.com 80
Trying 220.226.195.24...
Connected to specials.rediff.com.
Escape character is '^]'.
HEAD /movies/2008/jan/14sld1.htm HTTP/1.0

HTTP/1.0 200 OK
Server: publicfile
Date: Wed, 16 Jan 2008 17:46:33 GMT
Last-Modified: Mon, 14 Jan 2008 11:30:53 GMT
Content-Type: text/html
Content-Length: 20245

Connection closed by foreign host.

Thanks

It's consistent...

Hi,

No worries at all :-D
The site _consistently_ returns a 501 error with this request:

HEAD /movies/2008/jan/14sld1.htm HTTP/1.0
Host: specials.rediff.com
User-Agent: Drupal (+http://drupal.org/)
Content-Length: 0

The server's problem is that Content-Length: 0 which is 100% ALLOWED by the HTTP protocol (in fact, Drupal puts it there by default) but that somehow confuses the server.

I cannot do anything to prevent it. I can suggest you patch Drupal so that it doesn't add that Content-Length header (look for Content-Length' => 'Content-Length: '. strlen($data)

But, I wouldn't patch drigg-distr nor document it, because it shouldn't be necessary to od so - rediff's people should fix their server instead (something they will never do unless you kindly report them the problem)

Merc.

I'm confused.. :S

I'm encountering the same problem with a different url:
http://health.msn.com/health-topics/pain-management/arthritis/articlepag...

It says the URL isn't functioning, but of course it is. Merc, what should I do? I'm a Drupal newbie, so I have no idea what you're talking about re content-length header. Please helpppp.

Cynthia

any url I put in

give me an error.

Any Fix?

Good Day,

Newbie here and I am getting the same thing. How can I fix this?

Thank you,

Mark

never mind

this more of a theme error. I was using a different theme and when I used the drigg_theme it worked. Now giving me another error. But now it is giving me a page not found, maybe because I am not using drigg_home as the front page.

never mind

!^$