cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker Archives

[curl:bugs] #1206 curl does not add / if abs_path is null

From: Daniel Stenberg <bagder_at_users.sf.net>
Date: Fri, 15 Mar 2013 13:44:11 +0000

Thanks, this is now fixed in commit e4b733e3f1a7 for the upcoming 7.30.0 release.

---
** [bugs:#1206] curl does not add / if abs_path is null**
**Status:** closed-fixed
**Created:** Thu Mar 14, 2013 03:27 PM UTC by ScottJi
**Last Updated:** Fri Mar 15, 2013 12:46 PM UTC
**Owner:** Daniel Stenberg
Problem occurs when requesting an url in the form 'domain.tld' (instead of 'domain.tld/').
    # curl -v domain.tld
This will send a request to the (proxy) server that does not contain a trailing '/' in the path.
According to RFC 2616 the client is required to add a final '/' if the abs_path of the URI is null.
Because of this, some strict RFC 2616 http proxy server implementations will return a 'Bad Request' to Curl.
---
Sent from sourceforge.net because you indicated interest in <https://sourceforge.net/p/curl/bugs/1206/>
To unsubscribe from further messages, please visit <https://sourceforge.net/auth/prefs/>
Received on 2013-03-15

These mail archives are generated by hypermail.

donate! Page updated January 05, 2012.
web site info

File upload with ASP.NET