This commit is contained in:
astaxie 2014-11-02 21:01:51 +08:00
parent da127bbc22
commit 90cff5f042
1 changed files with 3 additions and 0 deletions

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
}