summaryrefslogtreecommitdiffstats
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
parent065a0cef3081baa7d8f13b6918ecec1d086a60f3 (diff)
Added a stripslashes() into the Upload Library.
-rw-r--r--system/libraries/Upload.php2
-rw-r--r--user_guide/changelog.html1
2 files changed, 2 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);
}
// --------------------------------------------------------------------
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 96f0a67e8..86c89fee0 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -201,6 +201,7 @@ Change Log
<li>Fixed a typo in the docblock comments that had CodeIgniter spelled CodeIgnitor.</li>
<li>Fixed a typo in the <a href="./helpers/string_helper.html">String Helper</a> (uniquid changed to uniqid).</li>
<li>Fixed typos in the email Language class (email_attachment_unredable, email_filed_smtp_login).</li>
+ <li>Added a stripslashes() into the Upload Library.</li>
<li>Fixed assorted user guide typos.</li>
</ul>