don't allow tags in app source
This commit is contained in:
parent
0e809b9301
commit
5633430a19
3 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ function item_post(&$a) {
|
|||
|
||||
$profile_uid = ((x($_POST,'profile_uid')) ? intval($_POST['profile_uid']) : 0);
|
||||
$post_id = ((x($_POST['post_id'])) ? intval($_POST['post_id']) : 0);
|
||||
$app = ((x($_POST['source'])) ? notags($_POST['source']) : '');
|
||||
$app = ((x($_POST['source'])) ? strip_tags($_POST['source']) : '');
|
||||
|
||||
if(! can_write_wall($a,$profile_uid)) {
|
||||
notice( t('Permission denied.') . EOL) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue