[squid-dev] [PATCH] Case-insensitive URI schemes

Kinkie gkinkie at gmail.com
Mon Jan 30 06:07:03 UTC 2017


> I'm thinking the quick-and-dirty way is to just lowercase the 'proto'
> variable in url.cc urlParse() function. Doing that in the for-loop where
> it is copied from 'src' would be easiest.
>  - it breaks the case preservation on unknown schemes a litte bit. But
> since they are supposed to be insensitive anyway the harm is minimal.

I think it'd be a worthy experiment.


-- 
    Francesco


More information about the squid-dev mailing list