90cff5f0 by astaxie

fix #824

1 parent da127bbc
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 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!