Tautulli / Tautulli-Issues

Bug reports for Tautulli
18 stars 3 forks source link

Tautulli on a Motorola Edge Plus thinks it's running Microsoft's Edge Browser. #264

Open StephenCYang opened 4 years ago

StephenCYang commented 4 years ago

Describe the Bug When bringing up the Tautulli web page on a Motorola Edge Plus phone with Chrome, it thinks that the browser is Microsoft's Edge.

Steps to Reproduce

  1. Get a Motorola Edge Plus phone.
  2. Open the Tautulli web page.

Expected Behavior I don't expect the warning message about how it MS Internet Explorer and Edge aren't supported.

Screenshots https://imgur.com/BNTfMt6

Relevant Settings Nothing else server side is really Relevant.

Tautulli and System Info (see Tautulli settings page)

Link to logs (required) Include a link to your FULL logs (not just a few lines) on Gist. https://gist.github.com/StephenCYang/46f428765151db8d81e7a574fdf79527 Tautulli-Edge

StephenCYang commented 4 years ago

Browser agent info from whatsmybrowser.org Screenshot_20200720-215619 Screenshot_20200720-215603 Screenshot_20200720-215612

JonnyWong16 commented 4 years ago

This looks like a bug with the upstream bestiejs/platform.js platform detection library that Tautulli is using.

You can check by going here: https://bestiejs.github.io/platform.js/

I can't check because the full user agent string is cutoff in your screenshot.

StephenCYang commented 4 years ago

{ "name": "Microsoft Edge", "version": null, "layout": "EdgeHTML", "prerelease": null, "os": "Android 10", "manufacturer": "Motorola", "product": "Motorola", "description": "Microsoft Edge on Motorola (Android 10)", "ua": "Mozilla/5.0 (Linux; Android 10; motorola edge plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Mobile Safari/537.36" }

StephenCYang commented 4 years ago

Looks like you are correct. The browser name is wrong...

JonnyWong16 commented 4 years ago

I opened an issue with platform.js.

bestiejs/platform.js#184