1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-22 23:40:50 +00:00
This commit is contained in:
astaxie 2014-11-02 21:01:51 +08:00
parent da127bbc22
commit 90cff5f042

View File

@ -394,6 +394,9 @@ func (leaf *leafInfo) match(wildcardValues []string) (ok bool, params map[string
}
return true, params
}
if len(wildcardValues) <= j {
return false, nil
}
params[v] = wildcardValues[j]
j += 1
}