by drakinite » Tue Nov 03, 2020 6:27 pm
Btw, the way it's currently set up, any old user can view the entire filetree of
https://www.mediamonkey.com/addon_system/ - Might not be great for security.
Though, it is pretty cool to see the whole history of uploaded files.
edit: I was being bad and I intentionally uploaded some crap files to test what stuff the server will and won't accept. If you care about deleting the crap files, in
https://www.mediamonkey.com/addon_system/repository/ there are some with the names "not-an-mmip" (e.g. not-an-mmip.txt); as well as
https://www.mediamonkey.com/addon_syste ... d/test.jpg .
It might be a good idea to check the mimetype of the files before they're saved, because when attempting to load test.jpg in a test submission I made, it caused a PHP error. (test.jpg is just a renamed text file.)
Btw, the way it's currently set up, any old user can view the entire filetree of https://www.mediamonkey.com/addon_system/ - Might not be great for security.
Though, it is pretty cool to see the whole history of uploaded files.
edit: I was being bad and I intentionally uploaded some crap files to test what stuff the server will and won't accept. If you care about deleting the crap files, in https://www.mediamonkey.com/addon_system/repository/ there are some with the names "not-an-mmip" (e.g. not-an-mmip.txt); as well as https://www.mediamonkey.com/addon_system/repository/images/upload/test.jpg .
It might be a good idea to check the mimetype of the files before they're saved, because when attempting to load test.jpg in a test submission I made, it caused a PHP error. (test.jpg is just a renamed text file.)