Skip to content

Commit

Permalink
MDL-45683 user: Escaping Skype ID used in profile
Browse files Browse the repository at this point in the history
  • Loading branch information
OsandaMalith authored and danpoltawski committed Jul 7, 2014
1 parent 2ca9e09 commit 0207466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/profile.php
Expand Up @@ -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 = '';
Expand Down

0 comments on commit 0207466

Please sign in to comment.