Ability to perform file extension-based check during single file upload

3 views
Skip to first unread message

Alexander Obuhovich

unread,
Jan 25, 2011, 6:19:09 AM1/25/11
to In-Portal Development
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.



Ready for testing.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
regular_uploader_can_check_by_file_extension_too.patch

Dmitry A.

unread,
Jan 28, 2011, 2:04:27 PM1/28/11
to in-por...@googlegroups.com
Patch tested good - Thanks!

I vote for 5.1.3 for this task. Anyone against it?


DA

Alexander Obuhovich

unread,
Jan 28, 2011, 2:17:40 PM1/28/11
to in-por...@googlegroups.com
I'm ok with that.

What's happening 5.1.2-B1 release? I suppose it should became 5.1.2 at some point in future.

Dmitry A.

unread,
Jan 28, 2011, 2:29:41 PM1/28/11
to in-por...@googlegroups.com
Yes, we'll have 5.1.2-B2 shortly.

I still have a couple things I want to get into it.


DA
Reply all
Reply to author
Forward
0 new messages