Mika - Please explain?
The virgin snews.php file in the installation package I downloaded on February 21, 2007, does not have this function as shown. The file has no revision date it it either to tell us which file is the "latest" release. Instead, the function is completely different and much longer, starting with:
// XSS CLEAN
function cleanXSS($val)
I also notice that:
// HTML ENTITY DECODE
function decode($text, $html = 'yes')
which was above it in the snews.php file released on
February 02, 2007 is now removed.
Each time you change an snews.php file so significantly... I suggest that bug-fix references like the one you posted here... should be deleted from this forum. I also suggest that each time changes are made... as the ones I just pointed out here... that the release date in the snews.php file be changed up to the date that the changes and new release were made. As it is now... the function changes are significant but both files have the same release date. This makes it impossible to know what was changed when. :/
Can you explain why this change was made and how it affects the operation of sNews?