summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-01-26 16:26:33 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-01-26 16:26:33 +0100
commita66574398c9ba225a088282b608fa490c0db8d2c (patch)
treea9a9f36cd6e09e2965a10b4f2de7077b73714201 /system
parent065a0cef3081baa7d8f13b6918ecec1d086a60f3 (diff)
Added a stripslashes() into the Upload Library.
Diffstat (limited to 'system')
-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);
}
// --------------------------------------------------------------------