On 24/02/16 09:22, Anton Khirnov wrote:
> Quoting Vittorio Giovara (2016-02-24 01:44:19)
>> A webserver omits the Content-Type or if mime-magic fails for unexpected
>> reasons, probing an image HTTP URL with query parameters will fail in
>> the extension match.
>>
>> So check the protocol used is
Quoting Vittorio Giovara (2016-02-24 01:44:19)
> A webserver omits the Content-Type or if mime-magic fails for unexpected
> reasons, probing an image HTTP URL with query parameters will fail in
> the extension match.
>
> So check the protocol used is http or https, and drop anything after
> the
A webserver omits the Content-Type or if mime-magic fails for unexpected
reasons, probing an image HTTP URL with query parameters will fail in
the extension match.
So check the protocol used is http or https, and drop anything after
the first query parameter when evaluating an image URL.