You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use curl_url_set to validate a string and check whether it's a valid URL. I use option CURLU_NON_SUPPORT_SCHEME as I need to support custom schemes.
I am trying to use curl_url_set to validate a string and check whether it's a valid URL. I use option CURLU_NON_SUPPORT_SCHEME as I need to support custom schemes.
In urlapi.c, there is the following comment:
But actual implementation is more like:
I have tested that the following examples are marked by libcurl curl_url_set as valid:
-+://example4
Those are not valid URLs according to RFC 3986 3.1, but libcurl treats them as valid ones.
The text was updated successfully, but these errors were encountered: