[mythtv-users] BBC iPlayer website request fetches mobile site

Paul Harrison mythtv at sky.com
Tue Aug 16 19:10:47 UTC 2011


On 16/08/11 19:53, Andy Summerskill wrote:
> Additional info...
>
> I have created a webpage containing the php code -
>
> <?php
>  echo $_SERVER['HTTP_USER_AGENT'];
>  ?>
>
> which returns
>
> Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0
>
> using the standard Ubuntu version of firefox. However, the return when
> the website is accessed from Mythbrowser is
>
> Mozilla/5.0 (X11; U; Linux i686; en-GB) AppleWebKit/533.3 (KHTML, like
> Gecko) Qt/4.7.2 Safari/533.3
>
> which the BBC website is presumably interpreting as a mobile browser.
>

This is already fixed in
masterhttps://github.com/MythTV/mythtv/commit/f19c6108a

Since it seem to be working well and no one has complained I'll backport
it to the fixes branch.

Paul H.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20110816/9d64a2d1/attachment.html 


More information about the mythtv-users mailing list