curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: How do I read a regex address?

From: Paul Gilmartin via curl-users <>
Date: Thu, 15 Jul 2021 16:44:53 -0600

On 2021-07-15, at 14:13:35, ToddAndMargo via curl-users <> wrote:
> Globoff did the trick! Thank you!
> man curl:
> -g, --globoff
> This option switches off the "URL globbing parser". When
> you set this option, you can specify URLs that contain
> the letters {}[] without having them being interpreted
> by curl itself. Note that these letters are not normal
> legal URL contents but they should be encoded according
> to the URI standard.
If such characters are encoded, as required by:

... does that eliminate the need for --globoff?

It should. Curl should introduce no constraints on URL syntax
beyond those documentd in RFC 1738.

And the published URL should have beeen so encoded. If I Copy
the URL from the Firefox URL field it appears propeerly encoded as:

-- gil

Received on 2021-07-16