Skip to content

Commit 470805b

Browse files
committed
Fix issues bcit-ci#44 & bcit-ci#110
1 parent 7b5eb73 commit 470805b

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

system/libraries/Upload.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,8 @@ public function clean_file_name($filename)
747747
';',
748748
'?',
749749
'/',
750+
'!',
751+
'#',
750752
'%20',
751753
'%22',
752754
'%3c', // <

user_guide_src/source/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ Bug fixes for 3.0
215215
- Fixed a bug (#1314) - sess_destroy() did not destroy userdata.
216216
- Fixed a bug (#1349) - get_extension() in the :doc:`File Uploading Library <libraries/file_uploading>` returned the original filename when it didn't have an actual extension.
217217
- Fixed a bug (#1273) - E_NOTICE being generated by :doc:`Query Builder <database/query_builder>`'s set_update_batch() method.
218+
- Fixed a bug (#44, #110) - :doc:`Upload library <libraries/file_uploading>`'s clean_file_name() method didn't clear '!' and '#' characters.
218219

219220
Version 2.1.1
220221
=============

0 commit comments

Comments
 (0)