# Posting Skype links is impossible

**URL:** https://meta.discourse.org/t/posting-skype-links-is-impossible/22456
**Category:** Feature
**Created:** [November 23, 2014, 11:17pm UTC](https://meta.discourse.org/t/posting-skype-links-is-impossible/22456 "2014-11-23T23:17:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Seleren](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seleren/32/115570_2.png) [@Seleren](https://meta.discourse.org/u/Seleren)
#### Post date: [November 23, 2014, 11:17pm UTC](https://meta.discourse.org/t/posting-skype-links-is-impossible/22456/1 "2014-11-23T23:17:53Z")

</div>

When trying to post a skype link in such way:

```plaintext
[Skype link](skype:?chat&blob=RandomLongNumbersAndCharacters)

```

the result becomes an `<a>` without href.

Here’s an example.  
Skype link

This cannot even be worked around by using the `<a></a>` link notation.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [November 24, 2014, 5:07am UTC](https://meta.discourse.org/t/posting-skype-links-is-impossible/22456/2 "2014-11-24T05:07:32Z")

</div>

Yes, this is on purpose. Some URL schemes can [effectively execute code](http://vimeo.com/51438866) on the computer when you click on them, so the links are stripped out if the scheme isn’t whitelisted.

---

<div class="post-metadata">

### Author: ![Seleren](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seleren/32/115570_2.png) [@Seleren](https://meta.discourse.org/u/Seleren)
#### Post date: [November 24, 2014, 9:42am UTC](https://meta.discourse.org/t/posting-skype-links-is-impossible/22456/3 "2014-11-24T09:42:31Z")

</div>

How do you whitelist a scheme, then? I haven’t found anything in the settings.

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [November 24, 2014, 10:17am UTC](https://meta.discourse.org/t/posting-skype-links-is-impossible/22456/4 "2014-11-24T10:17:02Z")

</div>

An extension point is needed in `Discourse.Markdown`’s `urlAllowed` function.

> <https://github.com/discourse/discourse/blob/dbb4491bc385929d09e09d6575a2836831b9f0cf/app/assets/javascripts/discourse/lib/markdown.js#L222>

---

<div class="post-metadata">

### Author: ![Seleren](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/seleren/32/115570_2.png) [@Seleren](https://meta.discourse.org/u/Seleren)
#### Post date: [November 25, 2014, 6:02pm UTC](https://meta.discourse.org/t/posting-skype-links-is-impossible/22456/5 "2014-11-25T18:02:36Z")

</div>

This might not be the best place to ask this, but after changing the JS and recompiling the assets, nothing changes. The old assets are still used and even if I overwrite the old assets with the new ones, Skype links are still accessible. I did check in multiple browsers and made sure that my browser was using the new version of the JS.

Any tips/ideas?
