BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

Add Skype URI support

Open LTsLlama opened this issue 9 years ago • 8 comments

Currently an openURL button with a Skype URI as the value, does nothing. Add support for Skype and Skype for Business URIs.

LTsLlama avatar Mar 27 '17 04:03 LTsLlama

At the moment I believe all links are being sanitized. @eanders-MS where did we land with this?

billba avatar Mar 27 '17 04:03 billba

We're only allowing http and https links currently. I thought we fixed this but apparently not. I think we should allow any kind of protocol.

eanders-ms avatar Mar 27 '17 04:03 eanders-ms

Wait, I spoke too soon. The code to filter links still exists but isn't being called. The link should make it to the UI as clickable. The problem must be elsewhere.

eanders-ms avatar Mar 27 '17 04:03 eanders-ms

@eanders-MS I only tested on the emulator and the bot framework test window (version 3).

LTsLlama avatar Mar 27 '17 04:03 LTsLlama

Looking over the emulator code, I see it does filter external links to http/https. It should be straight forward to fix.

eanders-ms avatar Mar 27 '17 05:03 eanders-ms

A fix has been made to the emulator and should be available in the next release. PR: https://github.com/Microsoft/BotFramework-Emulator/pull/144

eanders-ms avatar Mar 27 '17 05:03 eanders-ms

@eanders-MS is this just an Emulator problem or is there also a WebChat issue?

billba avatar Mar 27 '17 07:03 billba

I think its just an Emulator problem. Will go ahead and close this out.

eanders-ms avatar Mar 27 '17 15:03 eanders-ms