cURL / Mailing Lists / curl-library / Single Mail


Re: Inconsistent text case using CURLINFO_EFFECTIVE_URL

From: <>
Date: Tue, 13 May 2014 10:06:38 +0200

On 05/13/2014 at 9:53 AM, "Daniel Stenberg" <> wrote:
>... but why is that a problem?

It's a problem because URLs are case sensitive.

If the fact that "http://" is lower or uppercase doesn't depend on the answer of the remote server (does it?), I expect the result to be consistent.

For instance, when running a script that compares URLs or checks against a hash, it will fail because of this inconsistency - except if a function that identifies "https?://" and lowercase it is run against every URL before storing it.



List admin:
Received on 2014-05-13