Recently, I experienced an annoying issue after having upgraded my application from angularjs 1.6 to angularjs 1.7.
Consider the following link:
Even though “Chrome” has no issue with this, “Firefox” and “Edge” don’t quite like it. Of course, it’s not a browser issue, it’s not normal to have this “unsafe:” thingy in the link, so how did I fix it?
The “aHrefSanitizationWhitelist” function allows us to define a white list of accepted protocols.