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: Daniel Stenberg via curl-users <curl-users_at_cool.haxx.se>
Date: Fri, 16 Jul 2021 11:09:01 +0200 (CEST)

On Thu, 15 Jul 2021, Paul Gilmartin via curl-users wrote:

> 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:
> https://uupdump.net/known.php?q=regex:%5B2-9%5D%5Cd%7B4%7D%5C.

When we originally added support for the "globbing" characters [] and {} we
did that becasue the URI syntax specifically has them special and they should
be encoded if wanted "literally".

But the days of a clear definition of what a URL is or should work, is long
gone. The option to disable the globbing is often necessary to use.

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2021-07-16