In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
980 [In-Portal CMS] Data Management feature request N/A 2011-01-25 05:18 2012-07-25 05:33
alex  
alex  
normal  
closed 5.1.2-B1  
fixed  
 
none 5.2.0-B1  
https://groups.google.com/d/topic/in-portal-dev/qwbSSVuNsJ8/discussion
Added file extension-based check to regular (non-flash) uploader
1
0000980: Ability to perform file extension-based check during single file upload
Currently In-Portal uses 2 types of upload controls:
* single file upload (<input type="file" .../>)
* multi file upload (flash based)

Single file upload uses Mime-Type to validate uploaded files, but multi upload uses file extension check to do it.

Attached patch gives ability to single file uploader to perform extension-based checks too.
child of 0000979closed  (5.2.0)alex Improvements to form submissions (upload field, custom notification email) 
patch regular_uploader_can_check_by_file_extension_too.patch (1,691) 2011-01-25 05:18
http://tracker.in-portal.org/file_download.php?file_id=924&type=bug
patch regular_uploader_can_check_by_file_extension_too_520.patch (2,382) 2011-10-03 10:36
http://tracker.in-portal.org/file_download.php?file_id=1185&type=bug
Issue History
2012-07-25 05:33 alex Note Added: 0005094
2012-07-25 05:33 alex Status resolved => closed
2011-10-22 05:33 alex Estimate Points => 1
2011-10-03 10:37 alex Note Added: 0003972
2011-10-03 10:37 alex Status reviewed and tested => resolved
2011-10-03 10:37 alex Fixed in Version => 5.2.0-B1
2011-10-03 10:37 alex Resolution open => fixed
2011-10-03 10:37 alex Assigned To !COMMUNITY => alex
2011-10-03 10:37 alex Changeset attached 5.2.x r14611
2011-10-03 10:36 alex Note Added: 0003971
2011-10-03 10:36 alex Status needs testing => reviewed and tested
2011-10-03 10:36 alex Time Estimate Removed 1 =>
2011-10-03 10:36 alex Status needs work => needs testing
2011-10-03 10:36 alex File Added: regular_uploader_can_check_by_file_extension_too_520.patch
2011-09-26 04:50 alex Time Estimate Added 1
2011-09-23 21:02 Dmitry Note Added: 0003883
2011-09-23 21:02 Dmitry Status reviewed and tested => needs work
2011-09-23 21:02 Dmitry Target Version Icebox => 5.2.0
2011-01-28 12:59 Dmitry Note Added: 0003217
2011-01-28 12:59 Dmitry Status needs testing => reviewed and tested
2011-01-25 05:19 alex Assigned To => !COMMUNITY
2011-01-25 05:19 alex Developer => alex
2011-01-25 05:19 alex Status active => needs testing
2011-01-25 05:19 alex Reference => https://groups.google.com/d/topic/in-portal-dev/qwbSSVuNsJ8/discussion
2011-01-25 05:18 alex Relationship added child of 0000979
2011-01-25 05:18 alex New Issue
2011-01-25 05:18 alex File Added: regular_uploader_can_check_by_file_extension_too.patch
2011-01-25 05:18 alex Change Log Message => Added file extension-based check to regular (non-flash) uploader

Notes
(0003217)
Dmitry   
2011-01-28 12:59   
Patch tested good!
(0003883)
Dmitry   
2011-09-23 21:02   
New patch for 5.2.x needed (PHP 5 format)
(0003971)
alex   
2011-10-03 10:36   
Will test all together.
(0003972)
alex   
2011-10-03 10:37   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0000980: Ability to perform file extension-based check during single file upload
(0005094)
alex   
2012-07-25 05:33   
Since 5.2.0 version was released.