cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [SECURITY ADVISORY] curl invalid URL parsing with '#'

From: m brandenberg <mcbinc_at_panix.com>
Date: Sun, 6 Nov 2016 20:02:18 -0500 (EST)

On Sun, 6 Nov 2016, Ray Satiro via curl-library wrote:

>> Then what is the correct way to reference a file by its relative path using
>> libcurl andfile:// ?
>
> There is none, as far as I understand [1]. A conceptual relative file URL
> doesn't have an //authority or even a scheme it is supposed to be based on
> another URL.

Might be useful to look at:

https://url.spec.whatwg.org/

and

https://tools.ietf.org/html/draft-ietf-appsawg-file-scheme-03

The draft has expired but may have impacted 7320 which
updates 3986: https://tools.ietf.org/html/rfc7320

It is a mess...

--
Monty Brandenberg
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-11-07