
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2017 11:20 AM
I'm trying to add a SIP link to an Icon Link widget on Service Portal in order to initiate a chat with our Service Desk via Skype for Business. The URL I put in is sip:address@company.com. When SNOW renders it on the Portal, the link comes up as unsafe:sip:address@company.com and therefore does not work. Any ideas on how to solve this?
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2017 12:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2018 09:40 AM
I just responded to your comment on ServicePortal.io, but in short:
Did you modify the Regular Expression to include the CISCOTEL prefix? The above solution modifies the "whitelist", but does not disable sanitization, so you'll need to modify the script to include any prefixes that you're using within the portal.
https://serviceportal.io/avoid-unsafe-prefix-links/#comment-16264
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2018 09:52 AM
Hi Nathan,
Yes, I have included the prefix as below
angular.module('sn.$sp').config(['$compileProvider',function( $compileProvider ){
$compileProvider.aHrefSanitizationWhitelist(/^\s*(https?|ftp|mailto|file|skype|CISCOTEL):/) ;
}])
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2018 03:46 AM
Hi Nathan,
Any updates on the unsafe link, still I'm facing the issue, I have included the code as mentioned above..
Let me know if any other modification i need to make here.
Regards,
Bhavin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2018 11:29 AM
I just tested this, and it worked fine. I added this to the js_includes on the theme, and created a widget that linked to ciscotel (both lowercase and uppercase) and it worked. Please see below:
And in the browser, I now no longer get the "unsafe" prefix.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2018 01:32 AM
Hi Nathan,
I have configured the code in my personal dev and works fine for me as mentioned by you.
But in my client instance, I'm still facing the same issue. Is there anything I should validate.