X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=assistants%2Fgo.inc.php;h=8b09bb609310a29b44ffd1751e4571603c8989ae;hb=aeed9d1069fe3e4ed94f798179b309a120d70cf5;hp=a0521018779d4b40a6f16f64ecce26936e1ff313;hpb=35916247a3b7ed49d0dc758ebdf76cf636763d2c;p=mirrors%2FSokoMan.git diff --git a/assistants/go.inc.php b/assistants/go.inc.php index a052101..8b09bb6 100644 --- a/assistants/go.inc.php +++ b/assistants/go.inc.php @@ -3,5 +3,5 @@ if(!isset($_GET['q'])) $this->post_redirect_get('',"This assistant shouldn't be $id=$_GET['q']; $barcode_prefix_regexp = '/^'.preg_replace('/\//', '\/', BARCODE_PREFIX).'/'; if(preg_match($barcode_prefix_regexp, $id)) $id=preg_replace($barcode_prefix_regexp, '', $id); -if(preg_match('/\//', $id)) $this->post_redirect_get($id); +if(preg_match('/\//', $id)) $this->post_redirect_get(strtolower($id)); else $this->post_redirect_get('?q='.urlencode($id));