From a66574398c9ba225a088282b608fa490c0db8d2c Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sat, 26 Jan 2008 15:26:33 +0000 Subject: Added a stripslashes() into the Upload Library. --- system/libraries/Upload.php | 2 +- user_guide/changelog.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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
  • Fixed a typo in the docblock comments that had CodeIgniter spelled CodeIgnitor.
  • Fixed a typo in the String Helper (uniquid changed to uniqid).
  • Fixed typos in the email Language class (email_attachment_unredable, email_filed_smtp_login).
  • +
  • Added a stripslashes() into the Upload Library.
  • Fixed assorted user guide typos.
  • -- cgit v1.2.3-24-g4f1b