diff --git a/main/dropbox/index.php b/main/dropbox/index.php
index ad57c9608c..d33f4dd408 100644
--- a/main/dropbox/index.php
+++ b/main/dropbox/index.php
@@ -387,7 +387,7 @@ if (!$_GET['view'] OR $_GET['view']=='received' OR $dropbox_cnf['sent_received_t
$dropbox_category_data[]=''; // this is where the checkbox icon for the files appear
// the icon of the category
$dropbox_category_data[]=build_document_icon_tag('folder',$category['cat_name']);
- $dropbox_category_data[]='
'.$category['cat_name'].'';
+ $dropbox_category_data[]='
'.stripslashes($category['cat_name']).'';
$dropbox_category_data[]='';
$dropbox_category_data[]='';
$dropbox_category_data[]='';
@@ -531,7 +531,7 @@ if ($_GET['view']=='sent' OR $dropbox_cnf['sent_received_tabs']==false)
{
$dropbox_category_data[]=''; // this is where the checkbox icon for the files appear
$dropbox_category_data[]=build_document_icon_tag('folder',$category['cat_name']);
- $dropbox_category_data[]='
'.$category['cat_name'].'';
+ $dropbox_category_data[]='
'.stripslashes($category['cat_name']).'';
$dropbox_category_data[]='';
$dropbox_category_data[]='';
$dropbox_category_data[]='';