diff options
-rw-r--r-- | system/libraries/Upload.php | 2 | ||||
-rw-r--r-- | user_guide/changelog.html | 1 |
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>
|