cURL / Mailing Lists / curl-users / Single Mail

curl-users

Host header question

From: Frank BASKER <dearbasker_at_yahoo.com>
Date: Wed, 7 Jan 2009 17:27:48 -0800 (PST)

Hi

I notice the following difference in behavior between curl 7.19.2 and 7.17.1

With curl 7.19.2

#curl -H "Host:att.com" www.att.com
<HTML><HEAD>
<TITLE>Invalid URL</TITLE>
</HEAD><BODY>
<H1>Invalid URL</H1>
The requested URL "&#47;", is invalid.<p>
Reference&#32;&#35;9&#46;ab6a5640&#46;1231376406&#46;0
</BODY></HTML>

whereas with curl 7.17.1, the page is retrieved correctly

Is this a bug fix or a bug that got introduced between 7.17.1 and 7.19.2?
Appreciate your help
FB

      

-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-08