My workplace has Microsoft "Safe Links" enabled in Outlook and Teams and probably other Microsoft applications. This means that every link opened from these applications is rewritten to some Microsoft page, which verifies the URL and then redirects to it.
This completely breaks the idea of BrowseRouter, since there's essentially only a few target URLs. It would be really great if BrowseRouter detected those URLs, extracted the target URL from them, and then opened the target URL directly according to configuration.
Thanks @bllngr for the feature request. I also use Teams at work and have the same problem. I'll look into adding an option to parse out SafeLinks URLs.
My workplace has Microsoft "Safe Links" enabled in Outlook and Teams and probably other Microsoft applications. This means that every link opened from these applications is rewritten to some Microsoft page, which verifies the URL and then redirects to it.
This completely breaks the idea of BrowseRouter, since there's essentially only a few target URLs. It would be really great if BrowseRouter detected those URLs, extracted the target URL from them, and then opened the target URL directly according to configuration.
These are the patterns I've found:
It seems like parsing the query string and opening the value of the
url
instead of the passed link should be enough.