projects
/
glcas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fixed the url parser so all urlhandlers have ^ tacked to the start
[glcas.git]
/
libglcas
/
urlparser.php
diff --git
a/libglcas/urlparser.php
b/libglcas/urlparser.php
index
ab7e69c
..
d85692d
100644
(file)
--- 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);
}