the problem with this is that oscommerce stores the emails with the @ in tact. so eventually it's going to need to be in there anyway if you're searching to remove a specific address.. i haven't tried to see if the ascii bits of @ would work the same way.. but if you can't get hacked by somebody passing @ in a querystring i fail to see the point in sanitizing it, especially if security pro already only allows a-z, 09 and dots and dashes.. so before and after @ are already cleansed (and are cleansed inside the unsubscribe.php codes, as well)
str_replace('-emailand-', '@', $HTTP_GET_VARS['querystring']);
when this is parsed, isn't this essentially the same thing as using the @ from the get go? it would still end up as:myemail@example.com
Edited by eww, 07 March 2008, 23:34.















