Changeset 73

Show
Ignore:
Timestamp:
06/22/07 13:37:30 (2 years ago)
Author:
pdingle
Message:

made the cleansing routine more robust

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-infocard/pwlib/utils.pwlib.php

    r72 r73  
    192192                        $claim = stripslashes( $claim ); 
    193193                } 
    194                 $output = htmlspecialchars($claim, ENT_QUOTES); 
     194                $output = htmlspecialchars(addslashes($claim)); 
    195195                if ($output === $claim) 
    196196                { 
    197                         //nothing exciting happened 
     197                        //nothing exciting happened, no need to print a  
     198                        //debug statment 
    198199                        return $output; 
    199200                }