Bug 181982 - Add user agent quirk for a site (mail.ntu.edu.tw) which is known to run Microsoft Outlook Web App
Summary: Add user agent quirk for a site (mail.ntu.edu.tw) which is known to run Micro...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-23 06:25 PST by Ting-Wei Lan
Modified: 2018-01-23 09:10 PST (History)
3 users (show)

See Also:


Attachments
Patch (2.67 KB, patch)
2018-01-23 06:34 PST, Ting-Wei Lan
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ting-Wei Lan 2018-01-23 06:25:22 PST
I still remember this comment which said I can file a request to add user agent quirks for internal domains.
https://bugs.webkit.org/show_bug.cgi?id=171941#c5

I am going to upload a patch to add https://mail.ntu.edu.tw/ to the list of NeedsMacintoshPlatform. This site runs Microsoft Outlook Web App to provide webmail and calendar services for students and faculties in National Taiwan University. Microsoft Outlook Web App blocks users from accessing the calendar or the full version of the webmail when it decides that a browser is unsupported.

I remember there is a browser compatibility list (written in Chinese) on Microsoft website, but I can no longer find it since a few years ago. If I remember correctly, it lists the following browsers as 'compatible':

Windows: IE, Firefox, Chrome
macOS: Safari, Firefox
Linux: Firefox

This means using any browser other than Firefox on Linux disables the full version of the application. It also means all browsers on *BSD are forced to use the light version. Some old versions of Microsoft Outlook Web App shows an unclickable checkbox next to text 'Use the light version'. The current version running on mail.ntu.edu.tw simply hides the checkbox, and users will see the light version interface after successfully logged in.
Comment 1 Ting-Wei Lan 2018-01-23 06:34:34 PST
Created attachment 332024 [details]
Patch
Comment 2 Michael Catanzaro 2018-01-23 08:46:57 PST
Comment on attachment 332024 [details]
Patch

OK, this is fine. Shame that the only way to make this work is to manually list every domain that uses Outlook. :/

This site gets bonus points for triggering Epiphany's insecure password form warning (due to the mixed content on the page)!
Comment 3 WebKit Commit Bot 2018-01-23 09:10:51 PST
Comment on attachment 332024 [details]
Patch

Clearing flags on attachment: 332024

Committed r227416: <https://trac.webkit.org/changeset/227416>
Comment 4 WebKit Commit Bot 2018-01-23 09:10:53 PST
All reviewed patches have been landed.  Closing bug.