Removed deprecated pass-by-reference uses
fixed list issue created by removing pass-by-reference
Issue #5: Created a whitelist, made AMPSystem_Upload use it for uploads
Merge branch 'vulnfix'