--- image.php	2009-09-06 17:55:34.000000000 -0400
+++ image copy.php	2009-07-03 12:06:18.000000000 -0400
@@ -1,10 +1,9 @@
 <?php
 /* $Id: image.php,v 1.15.2.3.2.2.2.3 2009/07/03 16:06:18 tjfulopp Exp $ */
 
-/* check for bad URL inputs */
-if (strpos(base64_decode($_GET['imgp']), "://") !== false ||
-	preg_match('/\D/', ($_GET['imgw'] . $_GET['imgh'])) > 0 ) {
+if (strpos(base64_decode($_GET['imgp']), "://") !== false) {
+  # Fixing a possible URL injection problem. Using ':' was not enough because Windows paths contain it as well.
   header("HTTP/1.0 404 Not Found");
   exit();
 }
 
