fix #824
Showing
1 changed file
with
3 additions
and
0 deletions
| ... | @@ -394,6 +394,9 @@ func (leaf *leafInfo) match(wildcardValues []string) (ok bool, params map[string | ... | @@ -394,6 +394,9 @@ func (leaf *leafInfo) match(wildcardValues []string) (ok bool, params map[string |
| 394 | } | 394 | } |
| 395 | return true, params | 395 | return true, params |
| 396 | } | 396 | } |
| 397 | if len(wildcardValues) <= j { | ||
| 398 | return false, nil | ||
| 399 | } | ||
| 397 | params[v] = wildcardValues[j] | 400 | params[v] = wildcardValues[j] |
| 398 | j += 1 | 401 | j += 1 |
| 399 | } | 402 | } | ... | ... |
-
Please register or sign in to post a comment