cURL / Mailing Lists / curl-users / Single Mail

curl-users

Curl fails to get some URLs that browsers get - here's why

From: Chris <christopher_at_pobox.com>
Date: Thu, 8 Feb 2001 06:29:39 +1100

Hi,

This might be a bug due to some HTML specs not being adhered to?

This page:-

http://invest.foxmarketwire.com/news/../news/news_t_st4.sht

loads under normal browsers, but not curl, because the browsers are
replacing the "../" section, while curl is not.

Here's what curl reports:-

C:\>curl -i "http://invest.foxmarketwire.com/news/../news/news_t_st4.sht?"
HTTP/1.1 404 Not found
Server: Netscape-Enterprise/3.6 SP3
Date: Wed, 07 Feb 2001 19:24:21 GMT
Content-type: text/html
Content-length: 207
Connection: close

<TITLE>Not Found</TITLE><H1>Not Found</H1> The requested object does not exist o
n this server. The link you followed is either outdated, inaccurate, or the serv
er has been instructed not to let you have it.
C:\>

Curl loads the page properly without the ../
C:\>curl -i "http://invest.foxmarketwire.com/news/news_t_st4.sht?"
HTTP/1.1 200 OK
Received on 2001-02-07