Remove str_replace in return
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 86c9341..1f0bd6a 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -1012,7 +1012,7 @@
 		}
 		while ($old_filename !== $filename);
 
-		return stripslashes(str_replace($bad, '', $filename));
+		return stripslashes($filename);
 	}
 
 	// --------------------------------------------------------------------