appdb/include util.php

WineHQ wineowner at wine.codeweavers.com
Sun Jun 10 19:12:08 CDT 2007


ChangeSet ID:	31179
CVSROOT:	/opt/cvs-commit
Module name:	appdb
Changes by:	wineowner at winehq.org	2007/06/10 19:12:08

Modified files:
	include        : util.php 

Log message:
	Chris Morgan <cmorgan at alum.wpi.edu>
	Remove makeSafe(), we don't use this method anymore now that we have filter_gpc()

Patch: http://cvs.winehq.org/patch.py?id=31179

Old revision  New revision  Changes     Path
 1.90          1.91          +0 -7       appdb/include/util.php

Index: appdb/include/util.php
diff -u -p appdb/include/util.php:1.90 appdb/include/util.php:1.91
--- appdb/include/util.php:1.90	11 Jun 2007  0:12: 8 -0000
+++ appdb/include/util.php	11 Jun 2007  0:12: 8 -0000
@@ -24,13 +24,6 @@ function util_redirect_and_exit($url)
     exit;
 }
 
-function makeSafe($var)
-{
-/* Disable addslashes() until we can use more finely grained filtering on user input */
-/*    $var = trim(addslashes($var)); */
-    return $var;
-}
-
 function build_urlarg($vars)
 {
     $arr = array();



More information about the wine-cvs mailing list