Haxx ad

curl's project page on


cURL > Mailing List > Monthly Index > Single Mail

curl-library Archives

query part for non-HTTP(S) URLs

From: Daniel Stenberg <>
Date: Mon, 21 Nov 2011 10:39:19 +0100 (CET)


Before I forget, I just wanted to mentioned that someone on IRC pointed it out
to me the other day that RFC3986 (and popular browsers) allow a query part on
generic URIs.

This means you can actually legally write "file:///this/is/file?name=daniel"
but the '?' and the query part will be ignored for protocols that don't have a
meaning for it.

I can only think of HTTP and HTTPS of the protocols we support that use the
query part, so a proper fix of libcurl would be to cut off that part for all
other protocols - and of course to write test cases that verify that it
behaves correctly.

Anyone ready to get your feet wet with some libcurl hacking and work on this?

List admin:
Received on 2011-11-21

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET