abstracted out the 'safe extension' logic (used by the upload handler); made it 'public' so callbacks, etc. can use it as well.
abstracted out the 'safe extension' logic (used by the upload handler); made it 'public' so callbacks, etc. can use it as well.

cpojer/mootools-filemanager,cpojer/mootools-filemanager