# HG changeset patch # User Dan Fuhry # Date 1297392774 18000 # Node ID d1d64b373878d4c6a7f0f32404a37e3ed47f2b74 # Parent 03c5b9e8e02aee2945d15d812bd76083c8072eb4 ajax get_styles is now case insensitive with the theme_id diff -r 03c5b9e8e02a -r d1d64b373878 ajax.php --- a/ajax.php Thu Feb 10 01:34:55 2011 -0500 +++ b/ajax.php Thu Feb 10 21:52:54 2011 -0500 @@ -583,7 +583,7 @@ break; case "get_styles": - if ( !preg_match('/^[a-z0-9_-]+$/', $_GET['theme_id']) ) + if ( !preg_match('/^[A-z0-9_-]+$/', $_GET['theme_id']) ) die(enano_json_encode(array())); $theme_id = $_GET['theme_id'];