diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-01-26 16:26:33 +0100 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-01-26 16:26:33 +0100 |
commit | a66574398c9ba225a088282b608fa490c0db8d2c (patch) | |
tree | a9a9f36cd6e09e2965a10b4f2de7077b73714201 /system/libraries | |
parent | 065a0cef3081baa7d8f13b6918ecec1d086a60f3 (diff) |
Added a stripslashes() into the Upload Library.
Diffstat (limited to 'system/libraries')
-rw-r--r-- | system/libraries/Upload.php | 2 |
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);
}
// --------------------------------------------------------------------
|