Browse Source

- Fix htmlspecialchars on status submit

pull/16/head
Jaussoin Timothée 13 years ago
parent
commit
0c6c034838
  1. 2
      system/Widget/widgets/Profile/Profile.php
  2. 2
      system/Widget/widgets/Vcard/Vcard.php

2
system/Widget/widgets/Profile/Profile.php

@ -38,7 +38,7 @@ class Profile extends WidgetBase
function ajaxSetStatus($status)
{
$status = rawurldecode($status);
$status = htmlspecialchars(rawurldecode($status));
// We update the cache with our status and presence
$presence = Cache::c('presence');
Cache::c(

2
system/Widget/widgets/Vcard/Vcard.php

@ -297,6 +297,8 @@ class Vcard extends WidgetBase
?>
<div class="clear"></div>
</div>
<br />
<br />
<?php
}
}
Loading…
Cancel
Save