X-Git-Url: http://git.pjr.cc/?p=glcas.git;a=blobdiff_plain;f=libglcas%2Furlparser.php;h=d85692da90c6bcd28082e09173d50e3434097320;hp=ab7e69c509b867e903d4b0997879962438fbe0b1;hb=ce16a1b219c25bd3cb3b803b4fec36dd557ead1b;hpb=2924678dd2b842e5ecbb2f009fc6601500312b57 diff --git a/libglcas/urlparser.php b/libglcas/urlparser.php index ab7e69c..d85692d 100644 --- a/libglcas/urlparser.php +++ b/libglcas/urlparser.php @@ -34,7 +34,7 @@ class GLCASUrlParser { error_log("catchall set to $val"); } else if($key != "/") { // now the rest - if(preg_match("/$key/", $url)) { + if(preg_match("/^$key/", $url)) { error_log("matched $url to $key and $val"); return new $val($this->config); }