[webkit-dev] New iOS versions sending bogus User-Agent build data

Konstantin Tokarev annulen at yandex.ru
Thu Apr 26 09:23:04 PDT 2018



26.04.2018, 19:16, "Michael Catanzaro" <mcatanzaro at igalia.com>:
> On Thu, Apr 26, 2018 at 11:13 AM, Michael Catanzaro
> <mcatanzaro at igalia.com> wrote:
>>  By fixing the WebKit bug, of course. And in the meantime you can work
>>  around it on the server side by not using <img src=mp4>, right?
>
> Consider the other perspective on this problem. If other servers look
> at the WebKit version in the UA to determine if WebKit supports img
> src=mp4, other WebKit ports that don't support this are going to be out
> of luck and get broken pages. I know that's not what you're doing --
> you're looking at iOS version instead, and only doing it to work around
> a specific bug, which is much better -- but the problem of websites
> sending bad content based on bad user agent parsing is so severe that
> we don't have many good options, here. :/

Not to mention those evil people who reject page loading for user agents
they don't (want to) support

-- 
Regards,
Konstantin



More information about the webkit-dev mailing list