Addition to Report function Addition to Report function
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Addition to Report function

Started by augustin, September 09, 2008, 02:21:05 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

augustin

I have tested out the report function. It works well. In addition to it's current function, I think the image status should be set to "waiting to be approved" just as if a new image is uploaded and needs to be approved. This way the image is out of public view, if it's inappropriate. If there is a hack out there, I didn't see it. Point me in the direction if it is. Other wise I think it would be a good "todo" for the next version.

Thanks

Joachim Müller

Thanks for your suggestion. However, this could be used by a malevolent attacker to disable all your pics, using an automated script to generate a report for all the files you have. The top rule for coming up with code for an interactive site is "never trust user input". I strongly doubt that such a feature will make it into the core.