Skip to content
Permalink
Browse files

MDL-45683 user: Escaping Skype ID used in profile

  • Loading branch information...
OsandaMalith authored and danpoltawski committed Jun 4, 2014
1 parent 9dbf62d commit ce5a785b0962c3c94c7a7b0d36176482d21db95d
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/profile.php
@@ -334,7 +334,7 @@
if ($user->skype && !isset($hiddenfields['skypeid'])) {
$imurl = 'skype:'.urlencode($user->skype).'?call';
$iconurl = new moodle_url('http://mystatus.skype.com/smallicon/'.$user->skype);
$iconurl = new moodle_url('http://mystatus.skype.com/smallicon/'.urlencode($user->skype));
if (strpos($CFG->httpswwwroot, 'https:') === 0) {
// Bad luck, skype devs are lazy to set up SSL on their servers - see MDL-37233.
$statusicon = '';

0 comments on commit ce5a785

Please sign in to comment.
You can’t perform that action at this time.