summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 6511c68ab..39f1ed59b 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -711,7 +711,7 @@ class CI_Upload {
$filename = str_replace($val, '', $filename);
}
- return $filename;
+ return stripslashes($filename);
}
// --------------------------------------------------------------------